Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001264/0.001264, allocations: 84.61 kB / 20.68 MB, free: 1.047 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.001428/0.001428, allocations: 167 kB / 23.96 MB, free: 4.18 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.406/1.406, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1915/0.1915, allocations: 32.82 MB / 293.5 MB, free: 24 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.907e-05, allocations: 10.22 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.2023/0.2024, allocations: 19.55 MB / 459.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.2141, allocations: 5.389 MB / 465 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/0.2191, allocations: 240.5 kB / 465.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02097/0.2401, allocations: 9.364 MB / 474.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009643/0.2498, allocations: 2.253 MB / 476.9 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006821/0.2566, allocations: 1.874 MB / 478.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02166/0.2782, allocations: 15.03 MB / 493.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04414/0.3224, allocations: 21.16 MB / 0.5029 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0263/0.3487, allocations: 11.92 MB / 0.5145 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01571/0.3644, allocations: 7.867 MB / 0.5222 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006293/0.3707, allocations: 2.098 MB / 0.5242 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009357/0.38, allocations: 2.355 MB / 0.5265 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007329/0.3874, allocations: 4.422 MB / 0.5309 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01416/0.4015, allocations: 5.67 MB / 0.5364 GB, free: 13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03847/0.44, allocations: 29.09 MB / 0.5648 GB, free: 15.83 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.44, allocations: 0 / 0.5648 GB, free: 15.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.44, allocations: 3.938 kB / 0.5648 GB, free: 15.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009678/0.441, allocations: 0 / 0.5648 GB, free: 15.82 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06117/0.5021, allocations: 18.8 MB / 0.5832 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5022, allocations: 12.03 kB / 0.5832 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06251/0.5647, allocations: 11.48 MB / 0.5944 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/0.5847, allocations: 9.047 MB / 0.6032 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/0.586, allocations: 1.052 MB / 0.6043 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007449/0.5935, allocations: 1.375 MB / 0.6056 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05883/0.6523, allocations: 23.94 MB / 0.629 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004044/0.6527, allocations: 23.83 kB / 0.629 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00506/0.6578, allocations: 0.5678 MB / 0.6295 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008836/0.6587, allocations: 0.7095 MB / 0.6302 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4082/1.067, allocations: 21.65 MB / 0.6514 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/1.169, allocations: 61.15 MB / 0.7111 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/1.184, allocations: 11.35 MB / 0.7222 GB, free: 99.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006175/1.19, allocations: 4.5 MB / 0.7266 GB, free: 94.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/1.212, allocations: 14.31 MB / 0.7406 GB, free: 80.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.212, allocations: 78.11 kB / 0.7406 GB, free: 80.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.855e-06/1.212, allocations: 0 / 0.7406 GB, free: 80.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03151/1.243, allocations: 15.43 MB / 0.7557 GB, free: 65.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/1.244, allocations: 128.6 kB / 0.7558 GB, free: 65.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/1.249, allocations: 4.981 MB / 0.7607 GB, free: 60.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006496/1.25, allocations: 101.7 kB / 0.7608 GB, free: 60.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002688/1.252, allocations: 6.085 MB / 0.7667 GB, free: 54.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/1.254, allocations: 1.642 MB / 0.7683 GB, free: 52.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/1.256, allocations: 1.54 MB / 0.7698 GB, free: 51.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/1.256, allocations: 313 kB / 0.7701 GB, free: 51.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004764/1.26, allocations: 4.144 MB / 0.7742 GB, free: 46.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005557/1.266, allocations: 7.274 MB / 0.7813 GB, free: 38.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.277, allocations: 11.95 MB / 0.7929 GB, free: 24.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.339e-05/1.278, allocations: 28 kB / 0.793 GB, free: 24.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01757/1.295, allocations: 13.07 MB / 0.8057 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/1.295, allocations: 52 kB / 0.8058 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/1.295, allocations: 104 kB / 0.8059 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/1.301, allocations: 3.09 MB / 0.8089 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005234/1.306, allocations: 1.603 MB / 0.8105 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006922/1.307, allocations: 335.2 kB / 0.8108 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.313, allocations: 1.048 MB / 0.8118 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.314, allocations: 391.9 kB / 0.8122 GB, free: 5.078 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.007678/1.321, allocations: 5.398 MB / 0.8175 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.323, allocations: 0.5045 MB / 0.8179 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.342, allocations: 9.532 MB / 0.8273 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.342, allocations: 44 kB / 0.8273 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.342, allocations: 0 / 0.8273 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-05/1.342, allocations: 27.91 kB / 0.8273 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03782/1.38, allocations: 17.98 MB / 0.8449 GB, free: 3.574 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.38, allocations: 0 / 0.8449 GB, free: 3.574 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/1.383, allocations: 0.7411 MB / 0.8456 GB, free: 2.832 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006839/1.39, allocations: 2.968 MB / 0.8485 GB, free: 15.85 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009067/1.391, allocations: 107.9 kB / 0.8486 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006999/1.392, allocations: 146.4 kB / 0.8487 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.392, allocations: 4 kB / 0.8488 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/1.417, allocations: 14.17 MB / 0.8626 GB, free: 1.383 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/1.421, allocations: 1.329 MB / 0.8639 GB, free: 52 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2266/1.647, allocations: 78.61 kB / 0.864 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.651, allocations: 364.8 kB / 0.8643 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009602/1.652, allocations: 337.6 kB / 0.8646 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003747/1.652, allocations: 137.2 kB / 0.8648 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005585/1.658, allocations: 3.204 MB / 0.8679 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.658, allocations: 0 / 0.8679 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01062/1.668, allocations: 3.249 MB / 0.8711 GB, free: 187.3 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/1.67, allocations: 260.8 kB / 0.8713 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01955/1.689, allocations: 9.511 MB / 0.8806 GB, free: 184.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.689, allocations: 3.406 kB / 0.8806 GB, free: 184.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009262/1.699, allocations: 4.11 MB / 0.8846 GB, free: 183 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00691/1.705, allocations: 1.264 MB / 0.8859 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04311/1.749, allocations: 24.46 MB / 0.9097 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/1.76, allocations: 8.645 MB / 0.9182 GB, free: 163.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005843/1.766, allocations: 2.845 MB / 0.921 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.767, allocations: 395.4 kB / 0.9213 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/1.767, allocations: 0 / 0.9213 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.1161/1.883, allocations: 82.1 MB / 1.002 GB, free: 81.14 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.176280178129673]