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.001013/0.001013, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001196/0.001196, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.905/0.905, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2547/0.2547, allocations: 32.81 MB / 294.6 MB, free: 1.176 MB / 266.7 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.[0-9,]+..re|I.[0-9,]+..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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.711e-05, allocations: 2.312 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01502/0.01505, allocations: 21.16 MB / 344.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.02756, allocations: 5.862 MB / 350.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005945/0.03351, allocations: 230.8 kB / 350.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02005/0.05356, allocations: 10.15 MB / 360.6 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.06153, allocations: 2.256 MB / 362.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004523/0.06605, allocations: 1.885 MB / 364.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.0797, allocations: 15.04 MB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02912/0.1088, allocations: 21.9 MB / 401.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02051/0.1293, allocations: 12.1 MB / 413.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/0.1425, allocations: 8.905 MB / 422.7 MB, free: 5.664 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006097/0.1486, allocations: 2.098 MB / 424.8 MB, free: 3.566 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009102/0.1577, allocations: 2.351 MB / 427.1 MB, free: 1.215 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006884/0.1646, allocations: 4.488 MB / 431.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01222/0.1768, allocations: 5.735 MB / 437.4 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3446/0.5214, allocations: 14.51 MB / 451.9 MB, free: 67.82 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.5214, allocations: 0.9375 kB / 451.9 MB, free: 67.82 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5215, allocations: 0 / 451.9 MB, free: 67.82 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001046/0.5225, allocations: 1.75 kB / 451.9 MB, free: 67.82 MB / 410.8 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.03974/0.5622, allocations: 18.42 MB / 470.3 MB, free: 63.22 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5623, allocations: 7.75 kB / 470.3 MB, free: 63.22 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03396/0.5962, allocations: 10.32 MB / 480.6 MB, free: 62.38 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.6074, allocations: 4.354 MB / 485 MB, free: 60.54 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009378/0.6083, allocations: 1.058 MB / 486 MB, free: 60.06 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00452/0.6129, allocations: 1.378 MB / 487.4 MB, free: 58.99 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02987/0.6427, allocations: 11.94 MB / 499.4 MB, free: 47.51 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005189/0.6432, allocations: 15.38 kB / 499.4 MB, free: 47.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003807/0.6471, allocations: 0.5822 MB / 500 MB, free: 46.93 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004202/0.6475, allocations: 0.6978 MB / 0.4889 GB, free: 46.23 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.6667, allocations: 5.942 MB / 0.4947 GB, free: 40.28 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0689/0.7356, allocations: 41.62 MB / 0.5354 GB, free: 96 kB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009146/0.7447, allocations: 5.629 MB / 0.5409 GB, free: 10.52 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.7472, allocations: 1.275 MB / 0.5421 GB, free: 9.277 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/0.7636, allocations: 6.368 MB / 0.5483 GB, free: 3.129 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/0.7637, allocations: 86.11 kB / 0.5484 GB, free: 3.035 MB / 426.8 MB Notification: Performance of pre-optimization done (n=465): time 8.295e-06/0.7637, allocations: 0 / 0.5484 GB, free: 3.035 MB / 426.8 MB Notification: Performance of matching and sorting (n=465): time 0.01863/0.7824, allocations: 6.6 MB / 0.5549 GB, free: 12.47 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.7824, allocations: 132.2 kB / 0.555 GB, free: 12.32 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/0.7874, allocations: 3.216 MB / 0.5581 GB, free: 9.746 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003975/0.7878, allocations: 97.7 kB / 0.5582 GB, free: 9.645 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003204/0.791, allocations: 5.632 MB / 0.5637 GB, free: 4.172 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/0.7926, allocations: 1.643 MB / 0.5653 GB, free: 2.621 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/0.7948, allocations: 1.383 MB / 0.5667 GB, free: 1.383 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.7949, allocations: 312.9 kB / 0.567 GB, free: 1.078 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.797, allocations: 1.122 MB / 0.5681 GB, free: 15.95 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/0.8005, allocations: 3.907 MB / 0.5719 GB, free: 10.83 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/0.8088, allocations: 5.712 MB / 0.5775 GB, free: 4.242 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.141e-05/0.8089, allocations: 32 kB / 0.5775 GB, free: 4.211 MB / 458.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.007449/0.8163, allocations: 5.027 MB / 0.5824 GB, free: 15.88 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/0.8164, allocations: 48 kB / 0.5824 GB, free: 15.83 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/0.8165, allocations: 104.9 kB / 0.5825 GB, free: 15.73 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.8193, allocations: 1.489 MB / 0.584 GB, free: 14.25 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.822, allocations: 1.412 MB / 0.5854 GB, free: 12.96 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/0.8224, allocations: 329.3 kB / 0.5857 GB, free: 12.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.8254, allocations: 0.8298 MB / 0.5865 GB, free: 11.84 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/0.8257, allocations: 312 kB / 0.5868 GB, free: 11.54 MB / 474.8 MB 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.003297/0.829, allocations: 0.6252 MB / 0.5874 GB, free: 11.02 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000738/0.8298, allocations: 427.6 kB / 0.5878 GB, free: 10.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.8344, allocations: 3.243 MB / 0.591 GB, free: 7.375 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/0.8344, allocations: 44 kB / 0.591 GB, free: 7.332 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8344, allocations: 0 / 0.591 GB, free: 7.332 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.8345, allocations: 27.91 kB / 0.5911 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.8454, allocations: 6.642 MB / 0.5975 GB, free: 1.465 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.8454, allocations: 4 kB / 0.5975 GB, free: 1.461 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.8467, allocations: 0.5646 MB / 0.5981 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/0.849, allocations: 1.35 MB / 0.5994 GB, free: 15.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/0.8492, allocations: 94.47 kB / 0.5995 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002675/0.8494, allocations: 134.7 kB / 0.5996 GB, free: 15.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8495, allocations: 2.25 kB / 0.5996 GB, free: 15.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.8542, allocations: 3.848 MB / 0.6034 GB, free: 11.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.8556, allocations: 0.721 MB / 0.6041 GB, free: 10.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/0.856, allocations: 76 kB / 0.6042 GB, free: 10.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.857, allocations: 152 kB / 0.6043 GB, free: 10.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/0.8574, allocations: 295.2 kB / 0.6046 GB, free: 10.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.8576, allocations: 90.59 kB / 0.6047 GB, free: 10.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00149/0.8591, allocations: 1.45 MB / 0.6061 GB, free: 9.031 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8591, allocations: 0 / 0.6061 GB, free: 9.031 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005865/0.8649, allocations: 3.254 MB / 0.6093 GB, free: 5.766 MB / 490.8 MB 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.0004639/0.8654, allocations: 232 kB / 0.6095 GB, free: 5.574 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.004746/0.8701, allocations: 3.898 MB / 0.6133 GB, free: 2.047 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001112/0.8703, allocations: 75.94 kB / 0.6134 GB, free: 1.969 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.8725, allocations: 1.793 MB / 0.6151 GB, free: 268 kB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1358/1.008, allocations: 1.327 MB / 0.6164 GB, free: 150.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/1.047, allocations: 19.9 MB / 0.6359 GB, free: 143.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006679/1.054, allocations: 2.72 MB / 0.6385 GB, free: 143.3 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002738/1.057, allocations: 0.7754 MB / 0.6393 GB, free: 143.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/1.059, allocations: 1.116 MB / 0.6404 GB, free: 143 MB / 490.8 MB Notification: Performance of SimCode: time 2.785e-06/1.059, allocations: 0 / 0.6404 GB, free: 143 MB / 490.8 MB Notification: Performance of Templates: time 0.1129/1.172, allocations: 88.53 MB / 0.7268 GB, free: 63.46 MB / 490.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.540960284881294]