Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.001134/0.001134, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001296/0.001296, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9123/0.9123, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.132/0.132, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.19e-05, allocations: 2.312 kB / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.1535/0.1535, allocations: 21.29 MB / 320.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1666, allocations: 5.862 MB / 326.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006085/0.1727, allocations: 196.8 kB / 326.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01263/0.1853, allocations: 10.19 MB / 336.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008833/0.1942, allocations: 2.327 MB / 338.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.1984, allocations: 1.895 MB / 340.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.2116, allocations: 15.25 MB / 356.1 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0232/0.2348, allocations: 21.95 MB / 378 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01708/0.2519, allocations: 12.21 MB / 390.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.2638, allocations: 9.03 MB / 399.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00483/0.2687, allocations: 2.109 MB / 401.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005499/0.2742, allocations: 2.347 MB / 403.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004535/0.2787, allocations: 4.562 MB / 408.3 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009478/0.2882, allocations: 5.805 MB / 414.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.3079, allocations: 14.66 MB / 428.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3079, allocations: 0 / 428.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3079, allocations: 0 / 428.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006037/0.3085, allocations: 0 / 428.8 MB, free: 12.08 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.0312/0.3397, allocations: 18.63 MB / 447.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3398, allocations: 12.03 kB / 447.4 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3058/0.6456, allocations: 11.31 MB / 458.7 MB, free: 90.01 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008541/0.6541, allocations: 3.629 MB / 462.3 MB, free: 89.75 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006338/0.6547, allocations: 1.073 MB / 463.4 MB, free: 89.72 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/0.657, allocations: 1.4 MB / 464.8 MB, free: 89.72 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.6714, allocations: 12.15 MB / 477 MB, free: 88.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/0.6716, allocations: 17.75 kB / 477 MB, free: 88.61 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009811/0.6726, allocations: 0.5758 MB / 477.5 MB, free: 88.61 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003752/0.6729, allocations: 0.7302 MB / 478.3 MB, free: 88.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009234/0.6822, allocations: 6.137 MB / 484.4 MB, free: 86.75 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05045/0.7326, allocations: 42.14 MB / 0.5142 GB, free: 48.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006844/0.7395, allocations: 5.991 MB / 0.5201 GB, free: 42.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.7411, allocations: 1.305 MB / 0.5213 GB, free: 41.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.7529, allocations: 6.384 MB / 0.5276 GB, free: 35.56 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.7529, allocations: 81.77 kB / 0.5276 GB, free: 35.47 MB / 410.8 MB Notification: Performance of pre-optimization done (n=465): time 7.855e-06/0.7529, allocations: 0 / 0.5276 GB, free: 35.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=465): time 0.01144/0.7643, allocations: 6.549 MB / 0.534 GB, free: 28.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.7644, allocations: 128 kB / 0.5342 GB, free: 28.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.7665, allocations: 3.349 MB / 0.5374 GB, free: 26.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.7667, allocations: 97.7 kB / 0.5375 GB, free: 26.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.7682, allocations: 5.794 MB / 0.5432 GB, free: 20.72 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005928/0.7688, allocations: 1.646 MB / 0.5448 GB, free: 19.17 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.77, allocations: 1.443 MB / 0.5462 GB, free: 17.88 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.745e-05/0.77, allocations: 309.1 kB / 0.5465 GB, free: 17.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.7712, allocations: 1.15 MB / 0.5476 GB, free: 16.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.7729, allocations: 4.158 MB / 0.5517 GB, free: 10.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.7765, allocations: 6.017 MB / 0.5576 GB, free: 4.008 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.7765, allocations: 32 kB / 0.5576 GB, free: 3.977 MB / 410.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.005221/0.7818, allocations: 5.249 MB / 0.5627 GB, free: 15.47 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.7818, allocations: 56 kB / 0.5628 GB, free: 15.42 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.372e-05/0.7819, allocations: 112 kB / 0.5629 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.7846, allocations: 1.495 MB / 0.5643 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.7875, allocations: 1.488 MB / 0.5658 GB, free: 12.47 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002835/0.7878, allocations: 309.1 kB / 0.5661 GB, free: 12.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.7905, allocations: 0.8842 MB / 0.5669 GB, free: 11.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/0.7908, allocations: 331.8 kB / 0.5673 GB, free: 11 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.002361/0.7932, allocations: 0.647 MB / 0.5679 GB, free: 10.47 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006125/0.7938, allocations: 431.6 kB / 0.5683 GB, free: 10.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.7979, allocations: 3.276 MB / 0.5715 GB, free: 6.781 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.7979, allocations: 52 kB / 0.5716 GB, free: 6.73 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7979, allocations: 3.75 kB / 0.5716 GB, free: 6.73 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.798, allocations: 23.91 kB / 0.5716 GB, free: 6.707 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009749/0.8077, allocations: 6.644 MB / 0.5781 GB, free: 0.875 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8077, allocations: 0 / 0.5781 GB, free: 0.875 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.8093, allocations: 0.5641 MB / 0.5786 GB, free: 352 kB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.8115, allocations: 1.341 MB / 0.5799 GB, free: 15.01 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.8117, allocations: 87.97 kB / 0.58 GB, free: 14.93 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002326/0.8119, allocations: 123.8 kB / 0.5801 GB, free: 14.81 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8119, allocations: 4 kB / 0.5801 GB, free: 14.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/0.8164, allocations: 3.766 MB / 0.5838 GB, free: 11.13 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.8177, allocations: 0.7171 MB / 0.5845 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/0.8181, allocations: 80 kB / 0.5846 GB, free: 10.33 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.8191, allocations: 152 kB / 0.5847 GB, free: 10.18 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/0.8195, allocations: 295.2 kB / 0.585 GB, free: 9.891 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.8197, allocations: 91.97 kB / 0.5851 GB, free: 9.801 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001562/0.8212, allocations: 1.488 MB / 0.5866 GB, free: 8.5 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8212, allocations: 0 / 0.5866 GB, free: 8.5 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005386/0.8266, allocations: 3.3 MB / 0.5898 GB, free: 5.184 MB / 442.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.0005113/0.8271, allocations: 242.4 kB / 0.59 GB, free: 4.98 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005294/0.8324, allocations: 3.986 MB / 0.5939 GB, free: 1.398 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001534/0.8326, allocations: 104.2 kB / 0.594 GB, free: 1.281 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.8348, allocations: 1.78 MB / 0.5957 GB, free: 15.59 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.8376, allocations: 1.331 MB / 0.597 GB, free: 14.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/0.8656, allocations: 20.27 MB / 0.6168 GB, free: 10.05 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.868, allocations: 2.756 MB / 0.6195 GB, free: 7.258 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002359/0.8703, allocations: 0.7943 MB / 0.6203 GB, free: 6.461 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/0.8722, allocations: 1.126 MB / 0.6214 GB, free: 5.32 MB / 474.8 MB Notification: Performance of SimCode: time 9.12e-07/0.8722, allocations: 0 / 0.6214 GB, free: 5.32 MB / 474.8 MB Notification: Performance of Templates: time 0.245/1.117, allocations: 88.24 MB / 0.7076 GB, free: 81.54 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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.747437205631286]