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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.00254, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009023/0.0009023, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002267, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9558/0.9558, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1725/1.128, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.145/0.145, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02396/0.169, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.493e-06/1.493e-06, allocations: 0 / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.346e-05, allocations: 2.312 kB / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01544/0.01546, allocations: 21.33 MB / 307.2 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.02842, allocations: 5.834 MB / 313 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005062/0.03348, allocations: 230.8 kB / 313.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.04608, allocations: 10.1 MB / 323.3 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.05483, allocations: 2.38 MB / 325.7 MB, free: 364 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1658/0.2207, allocations: 1.696 MB / 327.4 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.2352, allocations: 15.13 MB / 342.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03257/0.2678, allocations: 21.26 MB / 363.8 MB, free: 92 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02812/0.2959, allocations: 12.64 MB / 376.4 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.3094, allocations: 8.866 MB / 385.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005789/0.3152, allocations: 2.098 MB / 387.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009828/0.325, allocations: 2.34 MB / 389.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006713/0.3317, allocations: 3.49 MB / 393.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01442/0.3462, allocations: 4.731 MB / 398 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02533/0.3715, allocations: 13.66 MB / 411.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-05/0.3715, allocations: 0.5938 kB / 411.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3715, allocations: 3.656 kB / 411.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008599/0.3724, allocations: 0.7812 kB / 411.6 MB, free: 3.551 MB / 378.7 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.04062/0.413, allocations: 21.25 MB / 432.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.413, allocations: 8.031 kB / 432.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03384/0.4469, allocations: 10.46 MB / 443.4 MB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.4588, allocations: 4.332 MB / 447.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008959/0.4597, allocations: 1.051 MB / 448.7 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004928/0.4646, allocations: 1.38 MB / 450.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/0.4978, allocations: 11.9 MB / 462 MB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004526/0.4983, allocations: 13.31 kB / 462 MB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003082/0.5014, allocations: 0.5746 MB / 462.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006728/0.502, allocations: 0.6811 MB / 463.3 MB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.5237, allocations: 5.909 MB / 469.2 MB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2689/0.7926, allocations: 41.73 MB / 0.499 GB, free: 89.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00719/0.7998, allocations: 5.627 MB / 0.5044 GB, free: 88.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.8018, allocations: 1.272 MB / 0.5057 GB, free: 88.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.8144, allocations: 6.273 MB / 0.5118 GB, free: 88.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.8145, allocations: 81.61 kB / 0.5119 GB, free: 88.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=465): time 6.232e-06/0.8145, allocations: 0.7656 kB / 0.5119 GB, free: 88.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=465): time 0.01226/0.8268, allocations: 6.575 MB / 0.5183 GB, free: 87.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.8268, allocations: 131.9 kB / 0.5184 GB, free: 87.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.8299, allocations: 3.219 MB / 0.5216 GB, free: 87.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.8302, allocations: 100.7 kB / 0.5217 GB, free: 87.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.8319, allocations: 5.628 MB / 0.5272 GB, free: 83.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007776/0.8327, allocations: 1.643 MB / 0.5288 GB, free: 82.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.8341, allocations: 1.386 MB / 0.5301 GB, free: 82.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.026e-05/0.8341, allocations: 301.1 kB / 0.5304 GB, free: 82.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.8354, allocations: 1.119 MB / 0.5315 GB, free: 82.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.8372, allocations: 3.906 MB / 0.5353 GB, free: 78.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/0.8412, allocations: 6.014 MB / 0.5412 GB, free: 74.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-05/0.8413, allocations: 31.19 kB / 0.5412 GB, free: 74.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.005462/0.8467, allocations: 5.013 MB / 0.5461 GB, free: 74.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.8468, allocations: 51.53 kB / 0.5462 GB, free: 74.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.742e-05/0.8468, allocations: 104.2 kB / 0.5463 GB, free: 74.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.8491, allocations: 1.495 MB / 0.5477 GB, free: 74.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.8519, allocations: 1.605 MB / 0.5493 GB, free: 74.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003728/0.8523, allocations: 319.8 kB / 0.5496 GB, free: 74.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.8557, allocations: 0.8336 MB / 0.5504 GB, free: 73.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005268/0.8562, allocations: 316 kB / 0.5507 GB, free: 73.73 MB / 458.7 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.003035/0.8592, allocations: 0.6193 MB / 0.5513 GB, free: 73.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008468/0.8601, allocations: 430.6 kB / 0.5517 GB, free: 73.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.8644, allocations: 3.263 MB / 0.5549 GB, free: 72.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.8644, allocations: 51.84 kB / 0.555 GB, free: 72.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.8645, allocations: 0 / 0.555 GB, free: 72.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.8645, allocations: 22.12 kB / 0.555 GB, free: 72.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.8783, allocations: 6.603 MB / 0.5614 GB, free: 67.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.8783, allocations: 0 / 0.5614 GB, free: 67.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.88, allocations: 0.6619 MB / 0.5621 GB, free: 67.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.8818, allocations: 0.7142 MB / 0.5628 GB, free: 66.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/0.8841, allocations: 1.362 MB / 0.5641 GB, free: 65.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/0.8844, allocations: 87.3 kB / 0.5642 GB, free: 65.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002894/0.8847, allocations: 144.6 kB / 0.5643 GB, free: 65.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8847, allocations: 3.938 kB / 0.5643 GB, free: 65.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/0.8896, allocations: 3.855 MB / 0.5681 GB, free: 62.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008819/0.8904, allocations: 78.69 kB / 0.5682 GB, free: 62.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.8919, allocations: 151.3 kB / 0.5683 GB, free: 62.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/0.8923, allocations: 297.4 kB / 0.5686 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.8925, allocations: 90.53 kB / 0.5687 GB, free: 61.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001727/0.8942, allocations: 1.444 MB / 0.5701 GB, free: 60.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8942, allocations: 0 / 0.5701 GB, free: 60.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006962/0.9012, allocations: 3.252 MB / 0.5733 GB, free: 57.62 MB / 458.7 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.000859/0.902, allocations: 237.4 kB / 0.5735 GB, free: 57.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006007/0.908, allocations: 4.005 MB / 0.5774 GB, free: 54.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000239/0.9083, allocations: 125.9 kB / 0.5775 GB, free: 53.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002708/0.911, allocations: 2.019 MB / 0.5795 GB, free: 52.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/0.9171, allocations: 10.97 MB / 0.5902 GB, free: 39.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07785/0.9949, allocations: 21.37 MB / 0.6111 GB, free: 20.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/0.9975, allocations: 2.817 MB / 0.6138 GB, free: 17.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002484/1, allocations: 0.7696 MB / 0.6146 GB, free: 16.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.002, allocations: 1.108 MB / 0.6157 GB, free: 15.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/1.002, allocations: 0 / 0.6157 GB, free: 15.73 MB / 458.7 MB Notification: Performance of Templates: time 0.2964/1.298, allocations: 92.85 MB / 0.7064 GB, free: 119.8 MB / 490.7 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.478117017075419]