Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001413/0.001413, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002054/0.002054, allocations: 169.1 kB / 24.91 MB, free: 8.773 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2951/0.2951, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.408e-05, allocations: 9.406 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01485/0.01486, allocations: 21.19 MB / 344.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.02631, allocations: 5.862 MB / 350.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.0291, allocations: 230.8 kB / 350.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.03917, allocations: 10.07 MB / 360.6 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007145/0.04631, allocations: 2.24 MB / 362.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.05044, allocations: 1.872 MB / 364.7 MB, free: 0 / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01335/0.06379, allocations: 15.04 MB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02691/0.09069, allocations: 21.84 MB / 401.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01981/0.1105, allocations: 12.1 MB / 413.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01302/0.1235, allocations: 8.917 MB / 422.7 MB, free: 5.711 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004779/0.1283, allocations: 2.098 MB / 424.7 MB, free: 3.613 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/0.1338, allocations: 2.363 MB / 427.1 MB, free: 1.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003288/0.1371, allocations: 4.481 MB / 431.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.1475, allocations: 5.739 MB / 437.3 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3139/0.4614, allocations: 14.51 MB / 451.8 MB, free: 67.66 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4614, allocations: 3.531 kB / 451.8 MB, free: 67.66 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4614, allocations: 3.375 kB / 451.8 MB, free: 67.66 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0006568/0.462, allocations: 0 / 451.8 MB, free: 67.66 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.03254/0.4946, allocations: 18.4 MB / 470.3 MB, free: 63.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4946, allocations: 7.688 kB / 470.3 MB, free: 63.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03031/0.5249, allocations: 10.33 MB / 480.6 MB, free: 62.21 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.5349, allocations: 4.352 MB / 484.9 MB, free: 60.43 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005673/0.5355, allocations: 1.056 MB / 486 MB, free: 59.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.5379, allocations: 1.376 MB / 487.4 MB, free: 58.98 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.5524, allocations: 11.94 MB / 499.3 MB, free: 47.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.5526, allocations: 17.39 kB / 499.3 MB, free: 47.48 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009773/0.5536, allocations: 0.5748 MB / 499.9 MB, free: 46.92 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003306/0.5539, allocations: 0.7017 MB / 0.4889 GB, free: 46.21 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00803/0.562, allocations: 5.948 MB / 0.4947 GB, free: 40.26 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.6081, allocations: 41.61 MB / 0.5353 GB, free: 80 kB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007952/0.6161, allocations: 5.631 MB / 0.5408 GB, free: 10.51 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.6182, allocations: 1.28 MB / 0.5421 GB, free: 9.258 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/0.6321, allocations: 6.364 MB / 0.5483 GB, free: 3.117 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/0.6321, allocations: 86.09 kB / 0.5484 GB, free: 3.023 MB / 426.8 MB Notification: Performance of pre-optimization done (n=465): time 9.558e-06/0.6321, allocations: 0 / 0.5484 GB, free: 3.023 MB / 426.8 MB Notification: Performance of matching and sorting (n=465): time 0.01773/0.6499, allocations: 6.595 MB / 0.5548 GB, free: 12.46 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.6499, allocations: 124.7 kB / 0.5549 GB, free: 12.32 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.654, allocations: 3.22 MB / 0.5581 GB, free: 9.738 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.6542, allocations: 97.7 kB / 0.5582 GB, free: 9.637 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002512/0.6567, allocations: 5.634 MB / 0.5637 GB, free: 4.16 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.6579, allocations: 1.648 MB / 0.5653 GB, free: 2.605 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.6593, allocations: 1.384 MB / 0.5666 GB, free: 1.367 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.6593, allocations: 312.7 kB / 0.5669 GB, free: 1.062 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.6607, allocations: 1.122 MB / 0.568 GB, free: 15.94 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.6633, allocations: 3.91 MB / 0.5718 GB, free: 10.81 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004566/0.6678, allocations: 5.706 MB / 0.5774 GB, free: 4.23 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/0.6679, allocations: 32 kB / 0.5774 GB, free: 4.199 MB / 458.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.005927/0.6738, allocations: 5.028 MB / 0.5823 GB, free: 15.86 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.6739, allocations: 54.41 kB / 0.5824 GB, free: 15.81 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.5e-05/0.6739, allocations: 104 kB / 0.5825 GB, free: 15.71 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.6764, allocations: 1.48 MB / 0.5839 GB, free: 14.24 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.6792, allocations: 1.5 MB / 0.5854 GB, free: 12.86 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/0.6796, allocations: 325.7 kB / 0.5857 GB, free: 12.59 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.6823, allocations: 0.8337 MB / 0.5865 GB, free: 11.75 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.6827, allocations: 308 kB / 0.5868 GB, free: 11.45 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.003147/0.6858, allocations: 0.631 MB / 0.5874 GB, free: 10.93 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006234/0.6864, allocations: 431.6 kB / 0.5879 GB, free: 10.5 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.6904, allocations: 3.235 MB / 0.591 GB, free: 7.281 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.6904, allocations: 44 kB / 0.5911 GB, free: 7.238 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6905, allocations: 7.641 kB / 0.5911 GB, free: 7.234 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.6905, allocations: 23.92 kB / 0.5911 GB, free: 7.211 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.7005, allocations: 6.647 MB / 0.5976 GB, free: 1.363 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7005, allocations: 0 / 0.5976 GB, free: 1.363 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.702, allocations: 0.6121 MB / 0.5982 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.7043, allocations: 1.344 MB / 0.5995 GB, free: 15.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.7045, allocations: 91.95 kB / 0.5996 GB, free: 15.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004041/0.7049, allocations: 143.6 kB / 0.5997 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7049, allocations: 0 / 0.5997 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.7096, allocations: 3.849 MB / 0.6035 GB, free: 11.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.7108, allocations: 0.7171 MB / 0.6042 GB, free: 10.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.7112, allocations: 80 kB / 0.6042 GB, free: 10.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7122, allocations: 148 kB / 0.6044 GB, free: 10.54 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.7127, allocations: 295.2 kB / 0.6047 GB, free: 10.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.7128, allocations: 91.95 kB / 0.6048 GB, free: 10.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001281/0.7141, allocations: 1.448 MB / 0.6062 GB, free: 8.891 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7141, allocations: 0 / 0.6062 GB, free: 8.891 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005847/0.72, allocations: 3.25 MB / 0.6093 GB, free: 5.629 MB / 490.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.0004527/0.7204, allocations: 249.5 kB / 0.6096 GB, free: 5.422 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.005307/0.7257, allocations: 3.895 MB / 0.6134 GB, free: 1.898 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001261/0.7259, allocations: 75.94 kB / 0.6135 GB, free: 1.82 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.7285, allocations: 1.786 MB / 0.6152 GB, free: 120 kB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1372/0.8657, allocations: 1.33 MB / 0.6165 GB, free: 150.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.887, allocations: 19.9 MB / 0.6359 GB, free: 143.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.8892, allocations: 2.719 MB / 0.6386 GB, free: 143.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002064/0.8912, allocations: 0.7665 MB / 0.6393 GB, free: 142.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/0.8932, allocations: 1.119 MB / 0.6404 GB, free: 142.8 MB / 490.8 MB Notification: Performance of SimCode: time 1.803e-06/0.8932, allocations: 0 / 0.6404 GB, free: 142.8 MB / 490.8 MB Notification: Performance of Templates: time 0.09716/0.9904, allocations: 88.54 MB / 0.7269 GB, free: 64.56 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.606642517261207]