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.001251/0.001251, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001377/0.001377, allocations: 168.8 kB / 24.5 MB, free: 3.453 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.446/1.446, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.2076/0.2076, allocations: 32.8 MB / 294.1 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 71.91 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3437, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0156/0.3593, allocations: 19.54 MB / 0.5132 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.371, allocations: 5.39 MB / 0.5185 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00456/0.3755, allocations: 232.7 kB / 0.5187 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01982/0.3954, allocations: 9.349 MB / 0.5278 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.4064, allocations: 2.184 MB / 0.53 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006243/0.4127, allocations: 1.87 MB / 0.5318 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0199/0.4326, allocations: 14.55 MB / 0.546 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04571/0.4783, allocations: 21.12 MB / 0.5666 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.495, allocations: 8.164 MB / 0.5746 GB, free: 6.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01886/0.5138, allocations: 8.728 MB / 0.5831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006649/0.5205, allocations: 2.098 MB / 0.5852 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.5312, allocations: 2.34 MB / 0.5875 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008643/0.5399, allocations: 4.337 MB / 0.5917 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01792/0.5578, allocations: 6.592 MB / 0.5981 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04889/0.6067, allocations: 28.91 MB / 0.6264 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6067, allocations: 0 / 0.6264 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6067, allocations: 4 kB / 0.6264 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.00103/0.6077, allocations: 3.938 kB / 0.6264 GB, free: 1.121 MB / 0.5137 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.07317/0.6809, allocations: 18.92 MB / 0.6449 GB, free: 14.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.6809, allocations: 8.031 kB / 0.6449 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06465/0.7456, allocations: 11.49 MB / 0.6561 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02295/0.7685, allocations: 9.048 MB / 0.6649 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/0.77, allocations: 1.063 MB / 0.666 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006679/0.7766, allocations: 1.375 MB / 0.6673 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.557/1.334, allocations: 23.92 MB / 0.6907 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006591/1.334, allocations: 20.72 kB / 0.6907 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005547/1.34, allocations: 0.5724 MB / 0.6913 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001172/1.341, allocations: 0.6993 MB / 0.6919 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04937/1.39, allocations: 21.66 MB / 0.7131 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.122/1.512, allocations: 61.16 MB / 0.7728 GB, free: 80.19 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01822/1.531, allocations: 11.34 MB / 0.7839 GB, free: 74.54 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006798/1.537, allocations: 4.504 MB / 0.7883 GB, free: 70.01 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02613/1.564, allocations: 14.31 MB / 0.8023 GB, free: 55.92 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.564, allocations: 86.11 kB / 0.8023 GB, free: 55.83 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.975e-06/1.564, allocations: 0 / 0.8023 GB, free: 55.83 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.04571/1.609, allocations: 15.44 MB / 0.8174 GB, free: 40.36 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/1.609, allocations: 128.6 kB / 0.8175 GB, free: 40.21 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.621, allocations: 4.986 MB / 0.8224 GB, free: 35.35 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.622, allocations: 97.7 kB / 0.8225 GB, free: 35.25 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004999/1.627, allocations: 6.1 MB / 0.8285 GB, free: 29.61 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00303/1.63, allocations: 1.666 MB / 0.8301 GB, free: 27.93 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003689/1.633, allocations: 1.559 MB / 0.8316 GB, free: 26.36 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/1.634, allocations: 301.1 kB / 0.8319 GB, free: 26.06 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009982/1.644, allocations: 4.156 MB / 0.836 GB, free: 21.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/1.656, allocations: 7.266 MB / 0.8431 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02452/1.681, allocations: 11.96 MB / 0.8547 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/1.681, allocations: 32 kB / 0.8548 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.05125/1.732, allocations: 13.06 MB / 0.8675 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002861/1.732, allocations: 48 kB / 0.8676 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003495/1.733, allocations: 104 kB / 0.8677 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01479/1.748, allocations: 3.086 MB / 0.8707 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/1.76, allocations: 1.603 MB / 0.8722 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.762, allocations: 351.1 kB / 0.8726 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/1.773, allocations: 1.052 MB / 0.8736 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002632/1.775, allocations: 384 kB / 0.874 GB, free: 12.02 MB / 0.6075 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.01695/1.792, allocations: 5.383 MB / 0.8792 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/1.795, allocations: 0.5006 MB / 0.8797 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03538/1.83, allocations: 9.544 MB / 0.889 GB, free: 12.54 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/1.83, allocations: 51.98 kB / 0.8891 GB, free: 12.49 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/1.83, allocations: 0 / 0.8891 GB, free: 12.49 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001577/1.831, allocations: 19.92 kB / 0.8891 GB, free: 12.47 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06968/1.9, allocations: 17.97 MB / 0.9067 GB, free: 10.43 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.278e-05/1.9, allocations: 0 / 0.9067 GB, free: 10.43 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006833/1.907, allocations: 0.741 MB / 0.9074 GB, free: 9.688 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01296/1.92, allocations: 2.964 MB / 0.9103 GB, free: 6.711 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001254/1.921, allocations: 107.9 kB / 0.9104 GB, free: 6.605 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/1.923, allocations: 142.5 kB / 0.9105 GB, free: 6.457 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.923, allocations: 4 kB / 0.9105 GB, free: 6.453 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04429/1.967, allocations: 14.18 MB / 0.9244 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007178/1.974, allocations: 1.33 MB / 0.9257 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002185/1.976, allocations: 80 kB / 0.9257 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006284/1.983, allocations: 367.5 kB / 0.9261 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001962/1.984, allocations: 335.2 kB / 0.9264 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001352/1.986, allocations: 136 kB / 0.9265 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01107/1.997, allocations: 3.207 MB / 0.9297 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/1.997, allocations: 0 / 0.9297 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01592/2.013, allocations: 3.254 MB / 0.9328 GB, free: 15.53 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.001691/2.015, allocations: 257.5 kB / 0.9331 GB, free: 15.27 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03158/2.046, allocations: 9.516 MB / 0.9424 GB, free: 5.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/2.046, allocations: 1 kB / 0.9424 GB, free: 5.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01561/2.062, allocations: 4.122 MB / 0.9464 GB, free: 1.613 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01453/2.076, allocations: 1.254 MB / 0.9476 GB, free: 400 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3379/2.414, allocations: 24.51 MB / 0.9716 GB, free: 204.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01856/2.433, allocations: 8.641 MB / 0.98 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008121/2.441, allocations: 2.847 MB / 0.9828 GB, free: 201.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/2.442, allocations: 392.6 kB / 0.9832 GB, free: 201.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.513e-06/2.442, allocations: 0 / 0.9832 GB, free: 201.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1297/2.572, allocations: 82.71 MB / 1.064 GB, free: 141.8 MB / 0.67 GB " [Timeout remaining time 657] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 10.188275828957558]