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.001969/0.001969, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003016/0.003016, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.666/1.666, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3496/0.3496, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.763e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.03018/0.03021, allocations: 21.77 MB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.04325, allocations: 5.514 MB / 402.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.04756, allocations: 238.8 kB / 402.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02517/0.07273, allocations: 10.12 MB / 412.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009508/0.08224, allocations: 2.236 MB / 415.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00711/0.08935, allocations: 1.886 MB / 417 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0223/0.1117, allocations: 15.03 MB / 432 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3581/0.4698, allocations: 21.18 MB / 453.2 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02234/0.4921, allocations: 12.01 MB / 465.2 MB, free: 48.27 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0157/0.5078, allocations: 8.722 MB / 474 MB, free: 47.93 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007638/0.5154, allocations: 2.099 MB / 476.1 MB, free: 47.93 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.5255, allocations: 2.35 MB / 478.4 MB, free: 47.88 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007616/0.5331, allocations: 4.492 MB / 482.9 MB, free: 45.67 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01681/0.5499, allocations: 5.746 MB / 488.7 MB, free: 43.55 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03359/0.5835, allocations: 29.28 MB / 0.5058 GB, free: 31 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5835, allocations: 3.219 kB / 0.5058 GB, free: 31 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5835, allocations: 0 / 0.5058 GB, free: 31 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.000916/0.5844, allocations: 0 / 0.5058 GB, free: 31 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.06262/0.647, allocations: 21.41 MB / 0.5267 GB, free: 15.02 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.6471, allocations: 8.031 kB / 0.5267 GB, free: 15.01 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0649/0.712, allocations: 13.83 MB / 0.5402 GB, free: 1.305 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02587/0.7378, allocations: 8.305 MB / 0.5483 GB, free: 9.316 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001695/0.7395, allocations: 1.061 MB / 0.5494 GB, free: 8.266 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00733/0.7469, allocations: 1.379 MB / 0.5507 GB, free: 6.902 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07775/0.8246, allocations: 24.26 MB / 0.5744 GB, free: 14.47 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007254/0.8253, allocations: 11.23 kB / 0.5744 GB, free: 14.46 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007253/0.8326, allocations: 0.5785 MB / 0.575 GB, free: 13.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001047/0.8336, allocations: 0.6978 MB / 0.5757 GB, free: 13.2 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05443/0.8881, allocations: 19.33 MB / 0.5945 GB, free: 9.859 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3457/1.234, allocations: 86.07 MB / 0.6786 GB, free: 80.27 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.251, allocations: 10.67 MB / 0.689 GB, free: 77.05 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006943/1.258, allocations: 4.005 MB / 0.6929 GB, free: 75.72 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03075/1.289, allocations: 13.29 MB / 0.7059 GB, free: 64.81 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/1.289, allocations: 88.92 kB / 0.706 GB, free: 64.71 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 7.925e-06/1.289, allocations: 0 / 0.706 GB, free: 64.71 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.03368/1.323, allocations: 14.22 MB / 0.7199 GB, free: 50.47 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/1.323, allocations: 124.7 kB / 0.72 GB, free: 50.33 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.333, allocations: 7.027 MB / 0.7269 GB, free: 43.27 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.334, allocations: 101.7 kB / 0.727 GB, free: 43.16 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003877/1.338, allocations: 6.73 MB / 0.7335 GB, free: 36.42 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.34, allocations: 1.801 MB / 0.7353 GB, free: 34.64 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002853/1.343, allocations: 2.002 MB / 0.7372 GB, free: 32.63 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/1.343, allocations: 480.8 kB / 0.7377 GB, free: 32.16 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/1.348, allocations: 3.516 MB / 0.7411 GB, free: 28.64 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006469/1.355, allocations: 8.454 MB / 0.7494 GB, free: 18.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.367, allocations: 12.62 MB / 0.7617 GB, free: 3.578 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.367, allocations: 36 kB / 0.7617 GB, free: 3.543 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02516/1.393, allocations: 12.25 MB / 0.7737 GB, free: 7.273 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.393, allocations: 48 kB / 0.7738 GB, free: 7.227 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/1.393, allocations: 104 kB / 0.7739 GB, free: 7.125 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007405/1.4, allocations: 2.994 MB / 0.7768 GB, free: 4.117 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006834/1.407, allocations: 1.599 MB / 0.7783 GB, free: 2.516 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.408, allocations: 367.7 kB / 0.7787 GB, free: 2.141 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/1.415, allocations: 1.048 MB / 0.7797 GB, free: 1.086 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.417, allocations: 384 kB / 0.7801 GB, free: 0.7109 MB / 490.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.01292/1.43, allocations: 4.967 MB / 0.7849 GB, free: 11.73 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002329/1.432, allocations: 0.6451 MB / 0.7856 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01882/1.451, allocations: 8.486 MB / 0.7938 GB, free: 2.559 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.758e-05/1.451, allocations: 55.94 kB / 0.7939 GB, free: 2.504 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.451, allocations: 3.938 kB / 0.7939 GB, free: 2.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.993e-05/1.451, allocations: 23.91 kB / 0.7939 GB, free: 2.477 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2743/1.725, allocations: 22.01 MB / 0.8154 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.726, allocations: 0 / 0.8154 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/1.729, allocations: 0.7336 MB / 0.8161 GB, free: 139 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005983/1.735, allocations: 2.859 MB / 0.8189 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/1.736, allocations: 106.5 kB / 0.819 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006877/1.737, allocations: 187 kB / 0.8192 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.737, allocations: 0 / 0.8192 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.759, allocations: 12.67 MB / 0.8316 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004676/1.764, allocations: 1.173 MB / 0.8327 GB, free: 136 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.766, allocations: 82.69 kB / 0.8328 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/1.769, allocations: 357.5 kB / 0.8332 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000844/1.77, allocations: 354.5 kB / 0.8335 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003461/1.77, allocations: 139.4 kB / 0.8336 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006319/1.777, allocations: 3.573 MB / 0.8371 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.5e-07/1.777, allocations: 3.5 kB / 0.8371 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01149/1.788, allocations: 3.253 MB / 0.8403 GB, free: 133.4 MB / 0.4949 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.001862/1.79, allocations: 260 kB / 0.8405 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02018/1.81, allocations: 9.271 MB / 0.8496 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.81, allocations: 2.719 kB / 0.8496 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008829/1.819, allocations: 3.97 MB / 0.8535 GB, free: 129 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008085/1.827, allocations: 1.354 MB / 0.8548 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04191/1.869, allocations: 22.83 MB / 0.8771 GB, free: 110.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/1.881, allocations: 7.708 MB / 0.8846 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006018/1.887, allocations: 2.415 MB / 0.887 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.888, allocations: 396.4 kB / 0.8874 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.864e-06/1.888, allocations: 0 / 0.8874 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.1244/2.013, allocations: 81.7 MB / 0.9671 GB, free: 19.42 MB / 0.4949 GB " [Timeout remaining time 658] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.242433456005529]