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.00195/0.00195, allocations: 96.2 kB / 20.21 MB, free: 4.199 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.002359/0.002359, allocations: 161.3 kB / 23.52 MB, free: 0.8945 MB / 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 1.651/1.651, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2421/0.2421, allocations: 32.37 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 179] 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.349e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02222/0.02225, allocations: 19.67 MB / 366.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.03887, allocations: 5.49 MB / 372.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007761/0.04663, allocations: 194.9 kB / 372.3 MB, free: 348 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02576/0.07239, allocations: 9.371 MB / 381.7 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.08459, allocations: 2.33 MB / 384 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007486/0.09208, allocations: 1.866 MB / 385.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02588/0.118, allocations: 15.22 MB / 401.1 MB, free: 3.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04965/0.1676, allocations: 21.21 MB / 422.3 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03194/0.1995, allocations: 12.03 MB / 434.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2527/0.4522, allocations: 7.987 MB / 442.3 MB, free: 42.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009661/0.4619, allocations: 2.115 MB / 444.4 MB, free: 42.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.4737, allocations: 2.348 MB / 446.8 MB, free: 42.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009321/0.483, allocations: 4.49 MB / 451.3 MB, free: 42.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02355/0.5066, allocations: 5.743 MB / 457 MB, free: 41.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05006/0.5566, allocations: 29.12 MB / 486.1 MB, free: 25.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.5566, allocations: 2.812 kB / 486.1 MB, free: 25.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5566, allocations: 0 / 486.1 MB, free: 25.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001274/0.5579, allocations: 0 / 486.1 MB, free: 25.48 MB / 362.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.09493/0.6528, allocations: 19.02 MB / 0.4933 GB, free: 8.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.557e-05/0.6529, allocations: 8.031 kB / 0.4933 GB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09022/0.7431, allocations: 15.19 MB / 0.5081 GB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03222/0.7753, allocations: 8.317 MB / 0.5163 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002269/0.7776, allocations: 1.072 MB / 0.5173 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00971/0.7873, allocations: 1.402 MB / 0.5187 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09645/0.8838, allocations: 24.41 MB / 0.5425 GB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008988/0.8847, allocations: 15.95 kB / 0.5425 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007168/0.8918, allocations: 0.5859 MB / 0.5431 GB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001153/0.893, allocations: 0.7374 MB / 0.5438 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06497/0.958, allocations: 22.36 MB / 0.5657 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4149/1.373, allocations: 63.66 MB / 0.6278 GB, free: 117.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.395, allocations: 12.02 MB / 0.6396 GB, free: 114.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009975/1.405, allocations: 4.602 MB / 0.6441 GB, free: 112.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0369/1.442, allocations: 14.39 MB / 0.6581 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/1.442, allocations: 86.09 kB / 0.6582 GB, free: 106.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=465): time 8.025e-06/1.442, allocations: 0 / 0.6582 GB, free: 106.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=465): time 0.03455/1.476, allocations: 15.51 MB / 0.6733 GB, free: 93.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/1.476, allocations: 127.2 kB / 0.6735 GB, free: 93.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008202/1.484, allocations: 5.154 MB / 0.6785 GB, free: 88.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.486, allocations: 97.7 kB / 0.6786 GB, free: 88.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003484/1.489, allocations: 6.253 MB / 0.6847 GB, free: 82.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002511/1.492, allocations: 1.651 MB / 0.6863 GB, free: 80.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002566/1.494, allocations: 1.584 MB / 0.6879 GB, free: 78.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/1.494, allocations: 301.1 kB / 0.6881 GB, free: 78.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005639/1.5, allocations: 4.2 MB / 0.6922 GB, free: 74.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008242/1.508, allocations: 7.558 MB / 0.6996 GB, free: 65.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/1.522, allocations: 12.32 MB / 0.7117 GB, free: 51.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/1.522, allocations: 35.94 kB / 0.7117 GB, free: 51.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02205/1.544, allocations: 13.75 MB / 0.7251 GB, free: 37.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/1.544, allocations: 56 kB / 0.7252 GB, free: 37.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/1.544, allocations: 112 kB / 0.7253 GB, free: 37.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00564/1.55, allocations: 3.107 MB / 0.7283 GB, free: 34.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/1.556, allocations: 1.661 MB / 0.7299 GB, free: 32.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005834/1.556, allocations: 323.1 kB / 0.7302 GB, free: 32.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006135/1.563, allocations: 1.106 MB / 0.7313 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.564, allocations: 400 kB / 0.7317 GB, free: 30.86 MB / 458.7 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.009948/1.574, allocations: 5.472 MB / 0.737 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/1.576, allocations: 0.649 MB / 0.7377 GB, free: 24.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.59, allocations: 9.557 MB / 0.747 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/1.59, allocations: 48 kB / 0.7471 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.59, allocations: 0 / 0.7471 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/1.59, allocations: 23.91 kB / 0.7471 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03641/1.626, allocations: 18 MB / 0.7647 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.626, allocations: 0 / 0.7647 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003863/1.63, allocations: 0.7372 MB / 0.7654 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007569/1.638, allocations: 2.96 MB / 0.7683 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/1.639, allocations: 99.97 kB / 0.7684 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/1.64, allocations: 130.5 kB / 0.7685 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.64, allocations: 0 / 0.7685 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2756/1.915, allocations: 14.23 MB / 0.7824 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003999/1.919, allocations: 1.345 MB / 0.7837 GB, free: 151.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/1.92, allocations: 79.72 kB / 0.7838 GB, free: 151.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.924, allocations: 372 kB / 0.7841 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008157/1.925, allocations: 330.8 kB / 0.7844 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003753/1.925, allocations: 125.2 kB / 0.7846 GB, free: 151.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00569/1.931, allocations: 3.293 MB / 0.7878 GB, free: 150.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.931, allocations: 0 / 0.7878 GB, free: 150.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009784/1.94, allocations: 3.299 MB / 0.791 GB, free: 149.3 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.0008664/1.941, allocations: 253.4 kB / 0.7912 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01587/1.957, allocations: 9.626 MB / 0.8006 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.957, allocations: 7.562 kB / 0.8007 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007574/1.965, allocations: 4.102 MB / 0.8047 GB, free: 144.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.971, allocations: 1.352 MB / 0.806 GB, free: 144.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04833/2.02, allocations: 25.19 MB / 0.8306 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01465/2.034, allocations: 8.744 MB / 0.8391 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008507/2.043, allocations: 2.917 MB / 0.842 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/2.045, allocations: 380.4 kB / 0.8423 GB, free: 116.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/2.045, allocations: 0 / 0.8423 GB, free: 116.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1192/2.164, allocations: 82.01 MB / 0.9224 GB, free: 34.45 MB / 474.7 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.272563874023035]