Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00198/0.00198, allocations: 83.3 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.00256/0.00256, allocations: 167.3 kB / 23.95 MB, free: 4.16 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.2231/0.2231, allocations: 34.28 MB / 295 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.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.716e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.2316/0.2316, allocations: 19.55 MB / 462.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.2488, allocations: 5.396 MB / 467.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009054/0.2578, allocations: 239.4 kB / 467.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02213/0.28, allocations: 9.361 MB / 477.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.2902, allocations: 2.243 MB / 479.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006424/0.2966, allocations: 1.886 MB / 481.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01996/0.3166, allocations: 15.03 MB / 496.4 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05244/0.369, allocations: 21.16 MB / 0.5054 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03017/0.3992, allocations: 11.92 MB / 0.517 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0196/0.4188, allocations: 7.867 MB / 0.5247 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009849/0.4286, allocations: 2.102 MB / 0.5268 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.4429, allocations: 2.356 MB / 0.5291 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0096/0.4525, allocations: 4.418 MB / 0.5334 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01902/0.4716, allocations: 5.673 MB / 0.5389 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04866/0.5202, allocations: 29.09 MB / 0.5673 GB, free: 11.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5202, allocations: 0 / 0.5673 GB, free: 11.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5202, allocations: 3.938 kB / 0.5673 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009933/0.5212, allocations: 0 / 0.5673 GB, free: 11.68 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.07091/0.5921, allocations: 18.79 MB / 0.5857 GB, free: 8.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.5922, allocations: 8.031 kB / 0.5857 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06395/0.6562, allocations: 11.48 MB / 0.5969 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02573/0.6819, allocations: 9.047 MB / 0.6057 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001633/0.6835, allocations: 1.056 MB / 0.6068 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00771/0.6912, allocations: 1.371 MB / 0.6081 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07756/0.7688, allocations: 23.94 MB / 0.6315 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008513/0.7696, allocations: 19.91 kB / 0.6315 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006421/0.7761, allocations: 0.5664 MB / 0.6321 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009843/0.777, allocations: 0.7017 MB / 0.6328 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5639/1.341, allocations: 21.66 MB / 0.6539 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1192/1.46, allocations: 61.16 MB / 0.7136 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/1.48, allocations: 11.33 MB / 0.7247 GB, free: 93.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0071/1.487, allocations: 4.512 MB / 0.7291 GB, free: 88.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02854/1.516, allocations: 14.3 MB / 0.7431 GB, free: 74.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/1.516, allocations: 82.05 kB / 0.7431 GB, free: 74.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 8.175e-06/1.516, allocations: 0 / 0.7431 GB, free: 74.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03779/1.554, allocations: 15.42 MB / 0.7582 GB, free: 58.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/1.554, allocations: 128.6 kB / 0.7583 GB, free: 58.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008543/1.562, allocations: 4.985 MB / 0.7632 GB, free: 53.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008522/1.563, allocations: 101.7 kB / 0.7633 GB, free: 53.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.566, allocations: 6.086 MB / 0.7692 GB, free: 48.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.568, allocations: 1.64 MB / 0.7708 GB, free: 46.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004135/1.572, allocations: 1.54 MB / 0.7723 GB, free: 45.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/1.572, allocations: 309.1 kB / 0.7726 GB, free: 44.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007723/1.58, allocations: 4.144 MB / 0.7767 GB, free: 40.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/1.592, allocations: 7.281 MB / 0.7838 GB, free: 31.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/1.608, allocations: 11.95 MB / 0.7955 GB, free: 18.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/1.608, allocations: 32 kB / 0.7955 GB, free: 18.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02733/1.636, allocations: 13.06 MB / 0.8082 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/1.636, allocations: 49 kB / 0.8083 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002395/1.636, allocations: 108 kB / 0.8084 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/1.643, allocations: 3.105 MB / 0.8114 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006465/1.649, allocations: 1.591 MB / 0.813 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.65, allocations: 347.1 kB / 0.8133 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00755/1.658, allocations: 1.044 MB / 0.8143 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/1.66, allocations: 391.9 kB / 0.8147 GB, free: 14.69 MB / 0.545 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.0138/1.674, allocations: 5.394 MB / 0.82 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002399/1.676, allocations: 0.5045 MB / 0.8205 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02447/1.7, allocations: 9.53 MB / 0.8298 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-05/1.701, allocations: 48 kB / 0.8298 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/1.701, allocations: 3.938 kB / 0.8298 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/1.701, allocations: 27.89 kB / 0.8299 GB, free: 15.13 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05282/1.754, allocations: 17.98 MB / 0.8474 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/1.754, allocations: 0 / 0.8474 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004244/1.758, allocations: 0.741 MB / 0.8481 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008027/1.766, allocations: 2.956 MB / 0.851 GB, free: 9.48 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/1.767, allocations: 107.9 kB / 0.8511 GB, free: 9.375 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/1.768, allocations: 150.4 kB / 0.8513 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.768, allocations: 0 / 0.8513 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.302/2.07, allocations: 14.17 MB / 0.8651 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00387/2.074, allocations: 1.338 MB / 0.8664 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/2.075, allocations: 81.38 kB / 0.8665 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003127/2.078, allocations: 360.5 kB / 0.8668 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008317/2.079, allocations: 339.2 kB / 0.8672 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000349/2.079, allocations: 138.2 kB / 0.8673 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007704/2.087, allocations: 3.21 MB / 0.8704 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/2.087, allocations: 0 / 0.8704 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01137/2.098, allocations: 3.248 MB / 0.8736 GB, free: 180.2 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.0008537/2.099, allocations: 257.6 kB / 0.8738 GB, free: 180.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01998/2.119, allocations: 9.509 MB / 0.8831 GB, free: 177 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/2.119, allocations: 1.062 kB / 0.8831 GB, free: 177 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008666/2.128, allocations: 4.111 MB / 0.8871 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/2.139, allocations: 1.263 MB / 0.8884 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04957/2.189, allocations: 24.47 MB / 0.9123 GB, free: 162.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01578/2.204, allocations: 8.638 MB / 0.9207 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008674/2.213, allocations: 2.845 MB / 0.9235 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002955/2.216, allocations: 391.2 kB / 0.9239 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of SimCode: time 2.565e-06/2.216, allocations: 4 kB / 0.9239 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.1383/2.354, allocations: 82.1 MB / 1.004 GB, free: 72.66 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.265732780098915]