Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009753, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9639/0.9639, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2586/0.2586, allocations: 34.87 MB / 296.3 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.048e-05, allocations: 3.156 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0232/0.02323, allocations: 21.94 MB / 400.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.03401, allocations: 5.521 MB / 406.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.03692, allocations: 234.8 kB / 406.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.04736, allocations: 10.16 MB / 416.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0061/0.05346, allocations: 2.244 MB / 418.9 MB, free: 9.812 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.05658, allocations: 1.897 MB / 420.8 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01183/0.06841, allocations: 15.02 MB / 435.8 MB, free: 8.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2857/0.3541, allocations: 21.18 MB / 456.9 MB, free: 47.59 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.3652, allocations: 12.02 MB / 469 MB, free: 47.59 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009387/0.3746, allocations: 8.774 MB / 477.7 MB, free: 45.95 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004637/0.3792, allocations: 2.096 MB / 479.8 MB, free: 45.95 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004667/0.3839, allocations: 2.358 MB / 482.2 MB, free: 45.9 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003131/0.387, allocations: 4.487 MB / 486.7 MB, free: 43.69 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007563/0.3946, allocations: 5.739 MB / 492.4 MB, free: 41.3 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.4082, allocations: 14.52 MB / 0.4951 GB, free: 35.25 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4082, allocations: 0 / 0.4951 GB, free: 35.25 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4082, allocations: 4.156 kB / 0.4951 GB, free: 35.25 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0004131/0.4086, allocations: 1.234 kB / 0.4951 GB, free: 35.25 MB / 410.8 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.04021/0.4488, allocations: 20.24 MB / 0.5148 GB, free: 24.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4489, allocations: 12.03 kB / 0.5148 GB, free: 24.65 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02955/0.4784, allocations: 13.82 MB / 0.5283 GB, free: 13.1 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009942/0.4883, allocations: 8.147 MB / 0.5363 GB, free: 5.277 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/0.4887, allocations: 1.056 MB / 0.5373 GB, free: 4.23 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/0.4902, allocations: 1.383 MB / 0.5387 GB, free: 2.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.5101, allocations: 12.75 MB / 0.5511 GB, free: 5.957 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002374/0.5104, allocations: 15.59 kB / 0.5511 GB, free: 5.945 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.5114, allocations: 0.5753 MB / 0.5517 GB, free: 5.379 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004618/0.5119, allocations: 0.6978 MB / 0.5524 GB, free: 4.68 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.5308, allocations: 6.766 MB / 0.559 GB, free: 13.9 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2414/0.7722, allocations: 55.88 MB / 0.6136 GB, free: 77.4 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008755/0.781, allocations: 8.515 MB / 0.6219 GB, free: 76.92 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/0.7833, allocations: 1.81 MB / 0.6237 GB, free: 76.84 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.7951, allocations: 9.062 MB / 0.6325 GB, free: 76.24 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.7952, allocations: 87.03 kB / 0.6326 GB, free: 76.2 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 6.012e-06/0.7952, allocations: 0 / 0.6326 GB, free: 76.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01684/0.812, allocations: 8.577 MB / 0.641 GB, free: 75.59 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.8121, allocations: 131.4 kB / 0.6411 GB, free: 75.5 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.8178, allocations: 4.802 MB / 0.6458 GB, free: 74.93 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.818, allocations: 104.1 kB / 0.6459 GB, free: 74.89 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00286/0.8209, allocations: 6.459 MB / 0.6522 GB, free: 71.34 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000907/0.8218, allocations: 1.736 MB / 0.6539 GB, free: 70.28 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.8234, allocations: 1.773 MB / 0.6556 GB, free: 70.14 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.8234, allocations: 476.8 kB / 0.6561 GB, free: 69.67 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.8253, allocations: 1.178 MB / 0.6572 GB, free: 69.65 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.8285, allocations: 5.903 MB / 0.663 GB, free: 64.02 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/0.8342, allocations: 7.727 MB / 0.6705 GB, free: 58.25 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.018e-05/0.8342, allocations: 28.22 kB / 0.6706 GB, free: 58.25 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.009427/0.8437, allocations: 6.849 MB / 0.6772 GB, free: 57.72 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.8437, allocations: 53.45 kB / 0.6773 GB, free: 57.72 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-05/0.8438, allocations: 104.7 kB / 0.6774 GB, free: 57.72 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/0.8465, allocations: 1.662 MB / 0.679 GB, free: 57.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/0.8492, allocations: 1.589 MB / 0.6806 GB, free: 57.57 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004197/0.8496, allocations: 370.1 kB / 0.6809 GB, free: 57.52 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.8526, allocations: 1.041 MB / 0.6819 GB, free: 57.07 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/0.8529, allocations: 387.7 kB / 0.6823 GB, free: 57.07 MB / 474.8 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.002964/0.8559, allocations: 0.6571 MB / 0.6829 GB, free: 56.84 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006593/0.8566, allocations: 0.641 MB / 0.6836 GB, free: 56.56 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005601/0.8622, allocations: 4.506 MB / 0.688 GB, free: 56.22 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.8622, allocations: 46.22 kB / 0.688 GB, free: 56.22 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8622, allocations: 3.062 kB / 0.688 GB, free: 56.22 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.8622, allocations: 23.11 kB / 0.688 GB, free: 56.22 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.8794, allocations: 14.23 MB / 0.7019 GB, free: 51.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.8794, allocations: 0 / 0.7019 GB, free: 51.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.8809, allocations: 0.727 MB / 0.7026 GB, free: 51.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.8833, allocations: 1.515 MB / 0.7041 GB, free: 50.59 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.8835, allocations: 110.7 kB / 0.7042 GB, free: 50.49 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002999/0.8838, allocations: 175.4 kB / 0.7044 GB, free: 50.34 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8838, allocations: 4 kB / 0.7044 GB, free: 50.34 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007025/0.8908, allocations: 5.54 MB / 0.7098 GB, free: 45.28 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.8924, allocations: 1.177 MB / 0.711 GB, free: 44.24 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/0.8928, allocations: 79.47 kB / 0.711 GB, free: 44.16 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.8941, allocations: 363.3 kB / 0.7114 GB, free: 43.93 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/0.8945, allocations: 348 kB / 0.7117 GB, free: 43.76 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.8947, allocations: 134.8 kB / 0.7118 GB, free: 43.64 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002304/0.897, allocations: 2.062 MB / 0.7139 GB, free: 41.91 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.8e-07/0.897, allocations: 0 / 0.7139 GB, free: 41.91 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005958/0.903, allocations: 3.25 MB / 0.717 GB, free: 38.65 MB / 474.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.000454/0.9034, allocations: 264.7 kB / 0.7173 GB, free: 38.43 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006505/0.9099, allocations: 5.076 MB / 0.7222 GB, free: 34.29 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9099, allocations: 0 / 0.7222 GB, free: 34.29 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.9128, allocations: 2.291 MB / 0.7245 GB, free: 32.38 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.9155, allocations: 1.348 MB / 0.7258 GB, free: 31.29 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.9376, allocations: 20.24 MB / 0.7456 GB, free: 11.26 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.9398, allocations: 3.848 MB / 0.7493 GB, free: 7.383 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003669/0.9435, allocations: 2.411 MB / 0.7517 GB, free: 4.965 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/0.9442, allocations: 399.7 kB / 0.7521 GB, free: 4.578 MB / 474.8 MB Notification: Performance of SimCode: time 1.603e-06/0.9442, allocations: 0 / 0.7521 GB, free: 4.578 MB / 474.8 MB Notification: Performance of Templates: time 0.2446/1.189, allocations: 86.26 MB / 0.8363 GB, free: 116.2 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.169610747136176]