Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.15e-05, allocations: 2.281 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1882/0.1882, allocations: 17 MB / 457.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1992, allocations: 4.845 MB / 461.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/0.203, allocations: 193.3 kB / 462.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01618/0.2191, allocations: 7.677 MB / 469.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007675/0.2268, allocations: 2.145 MB / 471.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.2308, allocations: 1.382 MB / 473.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01536/0.2462, allocations: 12.62 MB / 485.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02731/0.2735, allocations: 16.78 MB / 0.4909 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01938/0.2928, allocations: 9.747 MB / 0.5005 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.3054, allocations: 6.51 MB / 0.5068 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004889/0.3103, allocations: 1.719 MB / 0.5085 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008407/0.3187, allocations: 1.921 MB / 0.5104 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005982/0.3247, allocations: 3.744 MB / 0.514 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01126/0.336, allocations: 4.709 MB / 0.5186 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03069/0.3667, allocations: 23.89 MB / 0.542 GB, free: 7.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3667, allocations: 0 / 0.542 GB, free: 7.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3667, allocations: 1.125 kB / 0.542 GB, free: 7.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005106/0.3672, allocations: 4 kB / 0.542 GB, free: 7.293 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03997/0.4072, allocations: 14.64 MB / 0.5563 GB, free: 8.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4072, allocations: 8.031 kB / 0.5563 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06/0.4672, allocations: 11.17 MB / 0.5672 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/0.4851, allocations: 7.506 MB / 0.5745 GB, free: 5.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.4861, allocations: 0.8832 MB / 0.5754 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00453/0.4906, allocations: 1.176 MB / 0.5765 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04799/0.5386, allocations: 19.14 MB / 0.5952 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005665/0.5392, allocations: 11.95 kB / 0.5952 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003788/0.543, allocations: 0.4921 MB / 0.5957 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000802/0.5438, allocations: 0.6616 MB / 0.5963 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04391/0.5877, allocations: 19.05 MB / 0.6149 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4543/1.042, allocations: 51.79 MB / 0.6655 GB, free: 131 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/1.06, allocations: 10.63 MB / 0.6759 GB, free: 128 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004947/1.065, allocations: 4.221 MB / 0.68 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/1.065, allocations: 182.6 kB / 0.6802 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/1.065, allocations: 104.2 kB / 0.6803 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.498e-06/1.065, allocations: 1.688 kB / 0.6803 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01462/1.08, allocations: 11.75 MB / 0.6918 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.08, allocations: 119.9 kB / 0.6919 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/1.084, allocations: 3.83 MB / 0.6956 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/1.084, allocations: 133.1 kB / 0.6958 GB, free: 121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/1.086, allocations: 4.683 MB / 0.7003 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.088, allocations: 2.258 MB / 0.7025 GB, free: 116 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001774/1.09, allocations: 1.457 MB / 0.704 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/1.09, allocations: 309.1 kB / 0.7043 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/1.094, allocations: 4.113 MB / 0.7083 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005763/1.1, allocations: 6.918 MB / 0.715 GB, free: 107 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.111, allocations: 11.98 MB / 0.7267 GB, free: 95.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.432e-05/1.111, allocations: 28 kB / 0.7268 GB, free: 95.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01785/1.129, allocations: 11.84 MB / 0.7383 GB, free: 83.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.129, allocations: 47.94 kB / 0.7384 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.13, allocations: 88 kB / 0.7384 GB, free: 83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/1.131, allocations: 412.9 kB / 0.7388 GB, free: 82.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006532/1.137, allocations: 2.012 MB / 0.7408 GB, free: 80.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/1.142, allocations: 8.812 MB / 0.7494 GB, free: 71.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.147, allocations: 1.021 MB / 0.7504 GB, free: 70.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.149, allocations: 387.9 kB / 0.7508 GB, free: 69.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01046/1.159, allocations: 4.578 MB / 0.7552 GB, free: 65.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.161, allocations: 484.9 kB / 0.7557 GB, free: 64.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/1.175, allocations: 10.32 MB / 0.7658 GB, free: 54.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/1.175, allocations: 71.98 kB / 0.7659 GB, free: 54.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/1.175, allocations: 4 kB / 0.7659 GB, free: 54.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.838e-05/1.175, allocations: 35.81 kB / 0.7659 GB, free: 54.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3861/1.561, allocations: 150.1 MB / 0.9125 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003549/1.562, allocations: 81.69 kB / 0.9126 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005931/1.568, allocations: 1.557 MB / 0.9141 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008702/1.569, allocations: 381.2 kB / 0.9145 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/1.57, allocations: 262.8 kB / 0.9147 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00581/1.576, allocations: 8.682 MB / 0.9232 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.791e-05/1.576, allocations: 139.4 kB / 0.9233 GB, free: 161 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/1.597, allocations: 18.18 MB / 0.9411 GB, free: 141.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003623/1.601, allocations: 1.555 MB / 0.9426 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/1.603, allocations: 249.8 kB / 0.9428 GB, free: 140.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00524/1.608, allocations: 0.5437 MB / 0.9434 GB, free: 139.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001683/1.609, allocations: 0.765 MB / 0.9441 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/1.611, allocations: 317.9 kB / 0.9444 GB, free: 138.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004286/1.615, allocations: 2.546 MB / 0.9469 GB, free: 136.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.615, allocations: 0 / 0.9469 GB, free: 136.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009986/1.625, allocations: 2.95 MB / 0.9498 GB, free: 133.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00199/1.627, allocations: 0.4936 MB / 0.9503 GB, free: 133 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.641, allocations: 10.32 MB / 0.9603 GB, free: 122.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.902e-05/1.641, allocations: 16 kB / 0.9604 GB, free: 122.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007801/1.649, allocations: 5.286 MB / 0.9655 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/1.66, allocations: 1.267 MB / 0.9668 GB, free: 116 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04057/1.701, allocations: 24.11 MB / 0.9903 GB, free: 90.69 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/1.711, allocations: 7.409 MB / 0.9975 GB, free: 83.24 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009176/1.72, allocations: 3.199 MB / 1.001 GB, free: 80.03 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/1.723, allocations: 0.5238 MB / 1.001 GB, free: 79.51 MB / 0.5763 GB Notification: Performance of SimCode: time 9.72e-07/1.723, allocations: 0 / 1.001 GB, free: 79.51 MB / 0.5763 GB Notification: Performance of Templates: time 0.1073/1.83, allocations: 76.5 MB / 1.076 GB, free: 3.852 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.171112887561321]