Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001533/0.001533, allocations: 80.8 kB / 21.49 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.001672/0.001672, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.9703/0.9703, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.377e-05, allocations: 3.672 kB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01959/0.01962, allocations: 21.16 MB / 346.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.03112, allocations: 5.866 MB / 352.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004077/0.03519, allocations: 230.8 kB / 352.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.0472, allocations: 10.16 MB / 362.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.05474, allocations: 2.244 MB / 364.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.05939, allocations: 1.891 MB / 366.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.07287, allocations: 15.04 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.029/0.1019, allocations: 21.89 MB / 403.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0202/0.1221, allocations: 12.1 MB / 415.8 MB, free: 12.58 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.1342, allocations: 8.913 MB / 424.7 MB, free: 3.648 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005706/0.1399, allocations: 2.098 MB / 426.8 MB, free: 1.551 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007485/0.1474, allocations: 2.343 MB / 429.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006827/0.1542, allocations: 4.484 MB / 433.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01104/0.1653, allocations: 5.747 MB / 439.4 MB, free: 4.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.289/0.4542, allocations: 14.51 MB / 453.9 MB, free: 67.36 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4542, allocations: 0 / 453.9 MB, free: 67.36 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4542, allocations: 0 / 453.9 MB, free: 67.36 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0007607/0.455, allocations: 0.5 kB / 453.9 MB, free: 67.36 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.04182/0.4968, allocations: 18.41 MB / 472.3 MB, free: 62.75 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4969, allocations: 7.75 kB / 472.3 MB, free: 62.75 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03172/0.5286, allocations: 10.33 MB / 482.7 MB, free: 61.71 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.5395, allocations: 4.351 MB / 487 MB, free: 59.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000774/0.5402, allocations: 1.06 MB / 488.1 MB, free: 58.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005028/0.5453, allocations: 1.373 MB / 489.4 MB, free: 57.44 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.576, allocations: 11.94 MB / 0.4896 GB, free: 45.95 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003843/0.5764, allocations: 21.84 kB / 0.4897 GB, free: 45.94 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003638/0.58, allocations: 0.5685 MB / 0.4902 GB, free: 45.38 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005544/0.5806, allocations: 0.7017 MB / 0.4909 GB, free: 44.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.5974, allocations: 5.943 MB / 0.4967 GB, free: 38.73 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06255/0.66, allocations: 41.61 MB / 0.5373 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/0.6669, allocations: 5.633 MB / 0.5428 GB, free: 8.969 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.6691, allocations: 1.277 MB / 0.5441 GB, free: 7.723 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/0.6825, allocations: 6.368 MB / 0.5503 GB, free: 1.578 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.383e-05/0.6825, allocations: 86.11 kB / 0.5504 GB, free: 1.484 MB / 426.8 MB Notification: Performance of pre-optimization done (n=465): time 6.662e-06/0.6825, allocations: 0 / 0.5504 GB, free: 1.484 MB / 426.8 MB Notification: Performance of matching and sorting (n=465): time 0.01462/0.6971, allocations: 6.597 MB / 0.5568 GB, free: 10.92 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.6972, allocations: 124.7 kB / 0.5569 GB, free: 10.78 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/0.7009, allocations: 3.215 MB / 0.5601 GB, free: 8.203 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004494/0.7014, allocations: 97.7 kB / 0.5602 GB, free: 8.102 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.7039, allocations: 5.637 MB / 0.5657 GB, free: 2.625 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.7053, allocations: 1.647 MB / 0.5673 GB, free: 1.07 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.7068, allocations: 1.385 MB / 0.5686 GB, free: 15.83 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.7069, allocations: 305.1 kB / 0.5689 GB, free: 15.53 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.7085, allocations: 1.13 MB / 0.57 GB, free: 14.4 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.7112, allocations: 3.902 MB / 0.5739 GB, free: 9.281 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/0.7173, allocations: 5.721 MB / 0.5794 GB, free: 2.691 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-05/0.7174, allocations: 32 kB / 0.5795 GB, free: 2.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.007576/0.725, allocations: 5.021 MB / 0.5844 GB, free: 14.32 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.7251, allocations: 52.2 kB / 0.5844 GB, free: 14.27 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-05/0.7252, allocations: 112 kB / 0.5845 GB, free: 14.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.7279, allocations: 1.48 MB / 0.586 GB, free: 12.7 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/0.7313, allocations: 1.415 MB / 0.5874 GB, free: 11.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004548/0.7317, allocations: 318.6 kB / 0.5877 GB, free: 11.13 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/0.7355, allocations: 0.8259 MB / 0.5885 GB, free: 10.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/0.7361, allocations: 320 kB / 0.5888 GB, free: 9.984 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.003525/0.7396, allocations: 0.6265 MB / 0.5894 GB, free: 9.469 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008562/0.7405, allocations: 431.6 kB / 0.5898 GB, free: 9.047 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.7453, allocations: 3.236 MB / 0.593 GB, free: 5.828 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.7454, allocations: 48 kB / 0.593 GB, free: 5.781 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7454, allocations: 4 kB / 0.593 GB, free: 5.777 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.7454, allocations: 19.92 kB / 0.593 GB, free: 5.758 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.7593, allocations: 6.65 MB / 0.5995 GB, free: 15.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.7593, allocations: 0 / 0.5995 GB, free: 15.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.7608, allocations: 0.5594 MB / 0.6001 GB, free: 15.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.7634, allocations: 1.354 MB / 0.6014 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/0.7637, allocations: 91.95 kB / 0.6015 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002988/0.764, allocations: 144.8 kB / 0.6016 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.764, allocations: 4 kB / 0.6016 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.7696, allocations: 3.847 MB / 0.6054 GB, free: 10.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/0.7717, allocations: 0.7172 MB / 0.6061 GB, free: 9.352 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007038/0.7724, allocations: 76 kB / 0.6061 GB, free: 9.277 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.774, allocations: 151.9 kB / 0.6063 GB, free: 9.129 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/0.7746, allocations: 295.2 kB / 0.6066 GB, free: 8.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/0.7748, allocations: 95.95 kB / 0.6067 GB, free: 8.746 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002091/0.7769, allocations: 1.442 MB / 0.6081 GB, free: 7.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7769, allocations: 0 / 0.6081 GB, free: 7.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007231/0.7842, allocations: 3.253 MB / 0.6112 GB, free: 4.215 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.0006384/0.7848, allocations: 242.3 kB / 0.6115 GB, free: 4.012 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007228/0.792, allocations: 3.894 MB / 0.6153 GB, free: 0.4922 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001739/0.7922, allocations: 75.94 kB / 0.6154 GB, free: 424 kB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1912/0.9834, allocations: 1.789 MB / 0.6171 GB, free: 151.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.9868, allocations: 1.325 MB / 0.6184 GB, free: 151.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.013, allocations: 19.91 MB / 0.6378 GB, free: 144.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.016, allocations: 2.718 MB / 0.6405 GB, free: 144.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002464/1.019, allocations: 0.7762 MB / 0.6412 GB, free: 143.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/1.021, allocations: 1.116 MB / 0.6423 GB, free: 143.8 MB / 490.8 MB Notification: Performance of SimCode: time 2.033e-06/1.021, allocations: 0 / 0.6423 GB, free: 143.8 MB / 490.8 MB Notification: Performance of Templates: time 0.1196/1.14, allocations: 88.53 MB / 0.7288 GB, free: 62.68 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 5.790519577916712]