Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001306/0.001306, allocations: 76.28 kB / 21.24 MB, free: 0.5469 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.001393/0.001393, allocations: 160.4 kB / 24.5 MB, free: 3.719 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.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 34.27 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 443.2 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01426/0.3412, allocations: 16.97 MB / 0.5138 GB, free: 18.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.3517, allocations: 4.855 MB / 0.5186 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.355, allocations: 192.8 kB / 0.5187 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01735/0.3724, allocations: 7.65 MB / 0.5262 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009128/0.3815, allocations: 2.09 MB / 0.5282 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005107/0.3866, allocations: 1.381 MB / 0.5296 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0147/0.4013, allocations: 12.24 MB / 0.5415 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03258/0.4339, allocations: 16.73 MB / 0.5579 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.4491, allocations: 6.663 MB / 0.5644 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01576/0.4649, allocations: 7.225 MB / 0.5715 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006182/0.4711, allocations: 1.719 MB / 0.5731 GB, free: 7.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009649/0.4807, allocations: 1.902 MB / 0.575 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007201/0.4879, allocations: 3.662 MB / 0.5786 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01519/0.5031, allocations: 5.494 MB / 0.5839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03373/0.5369, allocations: 23.79 MB / 0.6072 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5369, allocations: 0 / 0.6072 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5369, allocations: 0 / 0.6072 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007926/0.5377, allocations: 4 kB / 0.6072 GB, free: 4.742 MB / 0.4981 GB 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.05196/0.5896, allocations: 14.74 MB / 0.6216 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5897, allocations: 8.031 kB / 0.6216 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06358/0.6533, allocations: 11.18 MB / 0.6325 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/0.674, allocations: 7.51 MB / 0.6398 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001344/0.6753, allocations: 0.8871 MB / 0.6407 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005588/0.6809, allocations: 1.168 MB / 0.6418 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05555/0.7364, allocations: 19.14 MB / 0.6605 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006253/0.7371, allocations: 23.89 kB / 0.6605 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004453/0.7415, allocations: 495.9 kB / 0.661 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008597/0.7424, allocations: 0.6617 MB / 0.6617 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04451/0.7869, allocations: 19.05 MB / 0.6803 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5887/1.376, allocations: 51.79 MB / 0.7308 GB, free: 106.9 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/1.397, allocations: 10.63 MB / 0.7412 GB, free: 103 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007195/1.404, allocations: 4.219 MB / 0.7453 GB, free: 101.6 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/1.405, allocations: 184 kB / 0.7455 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/1.405, allocations: 108.3 kB / 0.7456 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=653): time 1.39e-05/1.405, allocations: 0 / 0.7456 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=653): time 0.0198/1.425, allocations: 11.74 MB / 0.7571 GB, free: 96.41 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.425, allocations: 117.1 kB / 0.7572 GB, free: 96.34 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006628/1.432, allocations: 3.827 MB / 0.7609 GB, free: 94.38 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.433, allocations: 135.6 kB / 0.7611 GB, free: 94.27 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003334/1.436, allocations: 4.696 MB / 0.7656 GB, free: 90.96 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003275/1.439, allocations: 2.312 MB / 0.7679 GB, free: 89.22 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004509/1.444, allocations: 1.471 MB / 0.7693 GB, free: 88.42 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/1.444, allocations: 301.1 kB / 0.7696 GB, free: 88.12 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006142/1.45, allocations: 4.115 MB / 0.7736 GB, free: 86 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007708/1.458, allocations: 6.917 MB / 0.7804 GB, free: 79.55 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/1.472, allocations: 11.98 MB / 0.7921 GB, free: 66.22 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/1.472, allocations: 31.98 kB / 0.7921 GB, free: 66.19 MB / 0.5763 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02119/1.493, allocations: 11.84 MB / 0.8037 GB, free: 54.25 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.493, allocations: 51.92 kB / 0.8037 GB, free: 54.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.494, allocations: 88 kB / 0.8038 GB, free: 54.11 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.495, allocations: 409.4 kB / 0.8042 GB, free: 53.69 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007433/1.502, allocations: 2.016 MB / 0.8062 GB, free: 51.67 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/1.508, allocations: 8.812 MB / 0.8148 GB, free: 42.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006259/1.514, allocations: 1.018 MB / 0.8158 GB, free: 41.22 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.515, allocations: 391.9 kB / 0.8162 GB, free: 40.84 MB / 0.5763 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.008711/1.524, allocations: 4.578 MB / 0.8206 GB, free: 36.25 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/1.526, allocations: 481 kB / 0.8211 GB, free: 35.77 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.543, allocations: 10.33 MB / 0.8312 GB, free: 25.34 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-05/1.543, allocations: 68 kB / 0.8312 GB, free: 25.27 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-05/1.543, allocations: 4 kB / 0.8312 GB, free: 25.27 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/1.543, allocations: 31.88 kB / 0.8313 GB, free: 25.24 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5387/2.082, allocations: 150.1 MB / 0.9779 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003634/2.082, allocations: 85.31 kB / 0.978 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006886/2.089, allocations: 1.555 MB / 0.9795 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/2.09, allocations: 386.7 kB / 0.9799 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/2.091, allocations: 258.4 kB / 0.9801 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005766/2.097, allocations: 8.678 MB / 0.9886 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001232/2.097, allocations: 140.8 kB / 0.9887 GB, free: 194.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02869/2.126, allocations: 18.35 MB / 1.007 GB, free: 184.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007545/2.133, allocations: 1.561 MB / 1.008 GB, free: 183.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003243/2.137, allocations: 244 kB / 1.008 GB, free: 183.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006281/2.143, allocations: 0.5518 MB / 1.009 GB, free: 183.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002285/2.145, allocations: 0.7635 MB / 1.01 GB, free: 183.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001541/2.147, allocations: 317.1 kB / 1.01 GB, free: 183.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005081/2.152, allocations: 2.542 MB / 1.012 GB, free: 182.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.21e-07/2.152, allocations: 3.172 kB / 1.012 GB, free: 182.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01351/2.165, allocations: 2.953 MB / 1.015 GB, free: 181.7 MB / 0.67 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.004092/2.169, allocations: 498.8 kB / 1.016 GB, free: 181.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.19, allocations: 10.33 MB / 1.026 GB, free: 175.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001428/2.19, allocations: 12 kB / 1.026 GB, free: 175.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008962/2.199, allocations: 5.291 MB / 1.031 GB, free: 171 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/2.211, allocations: 1.272 MB / 1.032 GB, free: 170 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04732/2.258, allocations: 24.23 MB / 1.056 GB, free: 145 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/2.269, allocations: 7.397 MB / 1.063 GB, free: 137.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007559/2.277, allocations: 3.199 MB / 1.066 GB, free: 134.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/2.279, allocations: 0.5238 MB / 1.067 GB, free: 133.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.543e-06/2.279, allocations: 4 kB / 1.067 GB, free: 133.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1149/2.394, allocations: 77.05 MB / 1.142 GB, free: 57.64 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.962017511948943]