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.001049/0.001049, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002656, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009913/0.0009913, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002575, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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/1, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2667/0.2667, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03715/0.3038, allocations: 13.1 MB / 291.5 MB, free: 7.324 MB / 282.7 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.[0-9,]+..re|I.[0-9,]+..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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 3.938 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.122e-05, allocations: 7.781 kB / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01722/0.01725, allocations: 21.35 MB / 314.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.02803, allocations: 5.893 MB / 320.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.03065, allocations: 234.8 kB / 320.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008568/0.03922, allocations: 10.09 MB / 330.4 MB, free: 472 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.04351, allocations: 2.24 MB / 332.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.04606, allocations: 1.883 MB / 334.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.05883, allocations: 15.11 MB / 349.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03191/0.09074, allocations: 21.27 MB / 370.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02299/0.1137, allocations: 12.39 MB / 383.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.127, allocations: 8.859 MB / 392.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006199/0.1332, allocations: 2.098 MB / 394.3 MB, free: 208 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008698/0.1419, allocations: 2.367 MB / 396.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006723/0.1486, allocations: 3.484 MB / 400.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01465/0.1633, allocations: 4.731 MB / 404.8 MB, free: 5.605 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02218/0.1855, allocations: 13.68 MB / 418.5 MB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-05/0.1855, allocations: 0 / 418.5 MB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1855, allocations: 0 / 418.5 MB, free: 7.883 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008481/0.1863, allocations: 0 / 418.5 MB, free: 7.883 MB / 410.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.04372/0.2301, allocations: 21.25 MB / 439.8 MB, free: 2.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2301, allocations: 16.03 kB / 439.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2034/0.4335, allocations: 10.31 MB / 450.1 MB, free: 87.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.4449, allocations: 4.347 MB / 454.4 MB, free: 87.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008781/0.4458, allocations: 1.059 MB / 455.5 MB, free: 87.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004033/0.4498, allocations: 1.377 MB / 456.9 MB, free: 87.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/0.4771, allocations: 11.94 MB / 468.8 MB, free: 86.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005186/0.4776, allocations: 19.55 kB / 468.8 MB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003804/0.4814, allocations: 0.5752 MB / 469.4 MB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005342/0.482, allocations: 0.6701 MB / 470.1 MB, free: 86.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.4979, allocations: 5.946 MB / 476 MB, free: 81.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/0.5637, allocations: 41.86 MB / 0.5058 GB, free: 41.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00635/0.5701, allocations: 5.618 MB / 0.5112 GB, free: 35.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.572, allocations: 1.281 MB / 0.5125 GB, free: 34.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.5836, allocations: 6.379 MB / 0.5187 GB, free: 28.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.5836, allocations: 82.11 kB / 0.5188 GB, free: 28.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=465): time 6.252e-06/0.5837, allocations: 0 / 0.5188 GB, free: 28.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=465): time 0.01312/0.5968, allocations: 6.595 MB / 0.5252 GB, free: 21.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5968, allocations: 132.2 kB / 0.5254 GB, free: 21.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.5997, allocations: 3.215 MB / 0.5285 GB, free: 18.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/0.6001, allocations: 101.7 kB / 0.5286 GB, free: 18.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.6015, allocations: 5.631 MB / 0.5341 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009834/0.6025, allocations: 1.654 MB / 0.5357 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.6037, allocations: 1.382 MB / 0.5371 GB, free: 10.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.6038, allocations: 301.1 kB / 0.5374 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.605, allocations: 1.122 MB / 0.5384 GB, free: 9.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.6068, allocations: 3.907 MB / 0.5423 GB, free: 3.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0049/0.6117, allocations: 6.038 MB / 0.5482 GB, free: 13.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.314e-05/0.6117, allocations: 28 kB / 0.5482 GB, free: 13.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.007617/0.6194, allocations: 5.032 MB / 0.5531 GB, free: 8.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.6194, allocations: 53.56 kB / 0.5532 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.6195, allocations: 104 kB / 0.5533 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/0.6223, allocations: 1.489 MB / 0.5547 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/0.6267, allocations: 1.62 MB / 0.5563 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004843/0.6272, allocations: 328.9 kB / 0.5566 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/0.6315, allocations: 0.8337 MB / 0.5574 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/0.6323, allocations: 312 kB / 0.5577 GB, free: 4.129 MB / 442.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.002768/0.635, allocations: 0.6204 MB / 0.5583 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008491/0.6359, allocations: 431.6 kB / 0.5587 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.6404, allocations: 3.23 MB / 0.5619 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.6404, allocations: 48 kB / 0.5619 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6404, allocations: 0 / 0.5619 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.6404, allocations: 19.92 kB / 0.5619 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.6518, allocations: 6.659 MB / 0.5685 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6518, allocations: 0 / 0.5685 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.6536, allocations: 0.6739 MB / 0.5691 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.6554, allocations: 0.717 MB / 0.5698 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.6579, allocations: 1.356 MB / 0.5711 GB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003283/0.6582, allocations: 99.89 kB / 0.5712 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003049/0.6585, allocations: 133.2 kB / 0.5714 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6585, allocations: 0 / 0.5714 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/0.6641, allocations: 3.876 MB / 0.5751 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/0.665, allocations: 83.66 kB / 0.5752 GB, free: 3.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.6664, allocations: 148 kB / 0.5754 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/0.6669, allocations: 295.2 kB / 0.5756 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.6671, allocations: 104 kB / 0.5757 GB, free: 2.738 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001654/0.6687, allocations: 1.439 MB / 0.5771 GB, free: 1.477 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6687, allocations: 4 kB / 0.5772 GB, free: 1.473 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006902/0.6756, allocations: 3.254 MB / 0.5803 GB, free: 14.2 MB / 474.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.0008675/0.6765, allocations: 241.9 kB / 0.5806 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006251/0.6828, allocations: 4.011 MB / 0.5845 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002371/0.683, allocations: 126.4 kB / 0.5846 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.6859, allocations: 2.035 MB / 0.5866 GB, free: 8.336 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008236/0.6941, allocations: 10.98 MB / 0.5973 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2247/0.9188, allocations: 21.37 MB / 0.6182 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004136/0.9229, allocations: 2.82 MB / 0.6209 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002484/0.9254, allocations: 0.7725 MB / 0.6217 GB, free: 132.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/0.9274, allocations: 1.126 MB / 0.6228 GB, free: 132.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.204e-06/0.9274, allocations: 0 / 0.6228 GB, free: 132.7 MB / 490.7 MB Notification: Performance of Templates: time 0.1257/1.053, allocations: 93.73 MB / 0.7143 GB, free: 60.97 MB / 490.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] 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","",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.431454809382558]