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.001938/0.001938, allocations: 76.58 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002981/0.002981, allocations: 166 kB / 23.21 MB, free: 4.906 MB / 14.72 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.637/1.637, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.2175/0.2175, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 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 4.218e-06/4.218e-06, allocations: 3.984 kB / 407.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.971e-05, allocations: 2.281 kB / 407.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02637/0.0264, allocations: 19.67 MB / 427 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.04183, allocations: 5.404 MB / 432.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00608/0.04791, allocations: 194.9 kB / 432.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02553/0.07344, allocations: 9.384 MB / 442 MB, free: 240 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.08562, allocations: 2.329 MB / 444.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007582/0.0932, allocations: 1.88 MB / 446.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02516/0.1184, allocations: 15.23 MB / 461.4 MB, free: 12.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4491/0.5674, allocations: 21.22 MB / 482.7 MB, free: 16.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02979/0.5972, allocations: 12.03 MB / 494.7 MB, free: 16.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01743/0.6147, allocations: 7.99 MB / 0.4909 GB, free: 16.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007823/0.6225, allocations: 2.111 MB / 0.493 GB, free: 16.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009517/0.632, allocations: 2.348 MB / 0.4953 GB, free: 16.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007215/0.6392, allocations: 4.486 MB / 0.4996 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01514/0.6544, allocations: 5.735 MB / 0.5052 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03344/0.6878, allocations: 29.11 MB / 0.5337 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.6878, allocations: 3.984 kB / 0.5337 GB, free: 5.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.6878, allocations: 0 / 0.5337 GB, free: 5.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009386/0.6888, allocations: 0 / 0.5337 GB, free: 5.078 MB / 414.1 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.06746/0.7562, allocations: 19.02 MB / 0.5523 GB, free: 2.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7563, allocations: 12.03 kB / 0.5523 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0691/0.8254, allocations: 12.74 MB / 0.5647 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/0.8473, allocations: 8.117 MB / 0.5726 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/0.8486, allocations: 1.079 MB / 0.5737 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008283/0.8569, allocations: 1.391 MB / 0.575 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07231/0.9292, allocations: 24.41 MB / 0.5989 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006358/0.9299, allocations: 15.61 kB / 0.5989 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00576/0.9356, allocations: 0.5816 MB / 0.5995 GB, free: 2.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009116/0.9365, allocations: 0.7335 MB / 0.6002 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05953/0.9961, allocations: 22.35 MB / 0.622 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4516/1.448, allocations: 62.05 MB / 0.6826 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02272/1.47, allocations: 11.98 MB / 0.6943 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008213/1.479, allocations: 4.602 MB / 0.6988 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03204/1.511, allocations: 14.33 MB / 0.7128 GB, free: 134 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/1.511, allocations: 83.67 kB / 0.7129 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 8.787e-06/1.511, allocations: 0 / 0.7129 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03509/1.546, allocations: 15.34 MB / 0.7279 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/1.546, allocations: 131.8 kB / 0.728 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007536/1.553, allocations: 5.152 MB / 0.733 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.554, allocations: 96.45 kB / 0.7331 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004215/1.559, allocations: 6.244 MB / 0.7392 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002316/1.561, allocations: 1.657 MB / 0.7408 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/1.563, allocations: 1.588 MB / 0.7424 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/1.563, allocations: 309.1 kB / 0.7427 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006093/1.57, allocations: 4.201 MB / 0.7468 GB, free: 116 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009867/1.579, allocations: 7.556 MB / 0.7541 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/1.594, allocations: 12.32 MB / 0.7662 GB, free: 93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/1.594, allocations: 32 kB / 0.7662 GB, free: 92.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01986/1.614, allocations: 13.37 MB / 0.7793 GB, free: 79.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/1.614, allocations: 52 kB / 0.7793 GB, free: 79.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/1.614, allocations: 112 kB / 0.7794 GB, free: 79.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005747/1.62, allocations: 3.106 MB / 0.7825 GB, free: 76.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/1.626, allocations: 1.665 MB / 0.7841 GB, free: 74.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007842/1.627, allocations: 319.2 kB / 0.7844 GB, free: 74.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008051/1.635, allocations: 1.102 MB / 0.7855 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001971/1.637, allocations: 408 kB / 0.7858 GB, free: 72.8 MB / 0.5294 GB 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.01164/1.649, allocations: 5.456 MB / 0.7912 GB, free: 67.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.65, allocations: 0.5162 MB / 0.7917 GB, free: 66.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/1.665, allocations: 9.56 MB / 0.801 GB, free: 57.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/1.665, allocations: 51.98 kB / 0.8011 GB, free: 57.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.665, allocations: 0 / 0.8011 GB, free: 57.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/1.665, allocations: 23.91 kB / 0.8011 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03943/1.705, allocations: 17.98 MB / 0.8187 GB, free: 39.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.705, allocations: 0 / 0.8187 GB, free: 39.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/1.708, allocations: 0.7372 MB / 0.8194 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005876/1.714, allocations: 2.956 MB / 0.8223 GB, free: 35.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009581/1.715, allocations: 95.98 kB / 0.8223 GB, free: 35.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/1.715, allocations: 122.5 kB / 0.8225 GB, free: 35.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.715, allocations: 0 / 0.8225 GB, free: 35.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02017/1.735, allocations: 14.09 MB / 0.8362 GB, free: 21.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005029/1.74, allocations: 1.349 MB / 0.8375 GB, free: 19.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/1.742, allocations: 76 kB / 0.8376 GB, free: 19.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/1.746, allocations: 367.6 kB / 0.838 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000969/1.747, allocations: 335.1 kB / 0.8383 GB, free: 19.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004225/1.748, allocations: 132 kB / 0.8384 GB, free: 18.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005936/1.753, allocations: 3.284 MB / 0.8416 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.5e-07/1.753, allocations: 0 / 0.8416 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01152/1.765, allocations: 3.3 MB / 0.8448 GB, free: 12.3 MB / 0.5294 GB 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.001637/1.767, allocations: 258.4 kB / 0.8451 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01949/1.786, allocations: 9.615 MB / 0.8545 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.786, allocations: 4.25 kB / 0.8545 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01121/1.797, allocations: 4.103 MB / 0.8585 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/1.808, allocations: 1.255 MB / 0.8597 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.355/2.163, allocations: 24.86 MB / 0.884 GB, free: 165.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01864/2.182, allocations: 8.744 MB / 0.8925 GB, free: 164.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008964/2.191, allocations: 2.917 MB / 0.8954 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/2.193, allocations: 376.5 kB / 0.8957 GB, free: 164.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/2.193, allocations: 1.188 kB / 0.8957 GB, free: 164.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1562/2.349, allocations: 81.77 MB / 0.9756 GB, free: 100.1 MB / 0.545 GB " [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.538539752364159]