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.001615/0.001615, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001931/0.001931, allocations: 215.5 kB / 24.48 MB, free: 3.938 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.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.2574/0.2574, allocations: 46.97 MB / 361.6 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002012/0.002012, allocations: 63.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.387, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0251/0.4121, allocations: 19.53 MB / 0.5809 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.4256, allocations: 5.397 MB / 0.5862 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005363/0.431, allocations: 230.8 kB / 0.5864 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0229/0.4539, allocations: 8.842 MB / 0.595 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4646, allocations: 2.199 MB / 0.5972 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006479/0.471, allocations: 1.889 MB / 0.599 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02039/0.4914, allocations: 14.54 MB / 0.6132 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04516/0.5366, allocations: 21.3 MB / 0.634 GB, free: 9.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/0.5517, allocations: 8.156 MB / 0.642 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01655/0.5683, allocations: 8.806 MB / 0.6506 GB, free: 8.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006704/0.575, allocations: 2.098 MB / 0.6526 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009377/0.5844, allocations: 2.347 MB / 0.6549 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008739/0.5931, allocations: 4.333 MB / 0.6591 GB, free: 48 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0183/0.6114, allocations: 6.592 MB / 0.6656 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04537/0.6568, allocations: 28.92 MB / 0.6938 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.6568, allocations: 0 / 0.6938 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.236e-06/0.6568, allocations: 0 / 0.6938 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.00115/0.6579, allocations: 0 / 0.6938 GB, free: 12.42 MB / 0.5294 GB 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.07133/0.7293, allocations: 18.93 MB / 0.7123 GB, free: 9.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7293, allocations: 8.031 kB / 0.7123 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06185/0.7912, allocations: 11.48 MB / 0.7235 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/0.8167, allocations: 9.052 MB / 0.7324 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/0.8181, allocations: 1.06 MB / 0.7334 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006762/0.8249, allocations: 1.371 MB / 0.7347 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6745/1.499, allocations: 23.94 MB / 0.7581 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000627/1.5, allocations: 23.31 kB / 0.7581 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004214/1.504, allocations: 0.5668 MB / 0.7587 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006171/1.505, allocations: 0.6997 MB / 0.7594 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04186/1.547, allocations: 21.66 MB / 0.7805 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1215/1.668, allocations: 61.12 MB / 0.8402 GB, free: 43.12 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/1.687, allocations: 11.34 MB / 0.8513 GB, free: 33.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007708/1.694, allocations: 4.5 MB / 0.8557 GB, free: 28.67 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0326/1.727, allocations: 14.32 MB / 0.8697 GB, free: 14.52 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.725e-05/1.727, allocations: 90.09 kB / 0.8697 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 8.977e-06/1.727, allocations: 0 / 0.8697 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03615/1.763, allocations: 15.43 MB / 0.8848 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.763, allocations: 124.7 kB / 0.8849 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/1.776, allocations: 4.982 MB / 0.8898 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001626/1.777, allocations: 101.7 kB / 0.8899 GB, free: 9.848 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.007277/1.785, allocations: 6.103 MB / 0.8959 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003962/1.788, allocations: 1.666 MB / 0.8975 GB, free: 2.52 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005501/1.794, allocations: 1.555 MB / 0.899 GB, free: 0.957 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.794, allocations: 301.1 kB / 0.8993 GB, free: 0.6602 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007829/1.802, allocations: 4.148 MB / 0.9033 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/1.814, allocations: 7.266 MB / 0.9104 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02007/1.834, allocations: 11.96 MB / 0.9221 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.834, allocations: 32 kB / 0.9221 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02871/1.863, allocations: 13.06 MB / 0.9349 GB, free: 9.258 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/1.863, allocations: 48 kB / 0.9349 GB, free: 9.211 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/1.863, allocations: 104 kB / 0.935 GB, free: 9.109 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007278/1.87, allocations: 3.098 MB / 0.9381 GB, free: 6 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0067/1.877, allocations: 1.599 MB / 0.9396 GB, free: 4.398 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.878, allocations: 346.9 kB / 0.94 GB, free: 4.051 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007246/1.885, allocations: 1.048 MB / 0.941 GB, free: 2.996 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.887, allocations: 388 kB / 0.9414 GB, free: 2.617 MB / 0.6232 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.0127/1.9, allocations: 5.382 MB / 0.9466 GB, free: 13.22 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.901, allocations: 0.5084 MB / 0.9471 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/1.92, allocations: 9.536 MB / 0.9564 GB, free: 3.141 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/1.92, allocations: 48 kB / 0.9565 GB, free: 3.094 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.92, allocations: 0 / 0.9565 GB, free: 3.094 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.845e-05/1.92, allocations: 23.91 kB / 0.9565 GB, free: 3.07 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0476/1.968, allocations: 17.97 MB / 0.974 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.968, allocations: 3.938 kB / 0.974 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003892/1.972, allocations: 0.7372 MB / 0.9748 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007139/1.979, allocations: 2.965 MB / 0.9777 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/1.98, allocations: 104 kB / 0.9778 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006743/1.981, allocations: 146.5 kB / 0.9779 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.981, allocations: 7.938 kB / 0.9779 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3663/2.347, allocations: 14.16 MB / 0.9917 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005194/2.352, allocations: 1.335 MB / 0.993 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/2.354, allocations: 81.34 kB / 0.9931 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003921/2.358, allocations: 362.9 kB / 0.9935 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009475/2.359, allocations: 339.2 kB / 0.9938 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/2.359, allocations: 140.5 kB / 0.9939 GB, free: 223.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004944/2.364, allocations: 3.205 MB / 0.997 GB, free: 223.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/2.364, allocations: 3.688 kB / 0.9971 GB, free: 223.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009436/2.373, allocations: 3.253 MB / 1 GB, free: 223.2 MB / 0.67 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.001284/2.375, allocations: 259 kB / 1 GB, free: 223 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01648/2.391, allocations: 9.507 MB / 1.01 GB, free: 219.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/2.391, allocations: 3.938 kB / 1.01 GB, free: 219.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008588/2.4, allocations: 4.111 MB / 1.014 GB, free: 218.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008544/2.408, allocations: 1.264 MB / 1.015 GB, free: 218.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04603/2.454, allocations: 24.51 MB / 1.039 GB, free: 201.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01284/2.467, allocations: 8.642 MB / 1.047 GB, free: 194.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007453/2.475, allocations: 2.847 MB / 1.05 GB, free: 192.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/2.476, allocations: 389.5 kB / 1.051 GB, free: 192.5 MB / 0.67 GB Notification: Performance of SimCode: time 2.094e-06/2.476, allocations: 0 / 1.051 GB, free: 192.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1344/2.611, allocations: 95.77 MB / 1.144 GB, free: 98.05 MB / 0.67 GB " [Timeout remaining time 657] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/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.709354574995814]