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.001402/0.001402, allocations: 117.2 kB / 18.45 MB, free: 4.613 MB / 14.72 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.001394/0.001394, allocations: 206.6 kB / 21.4 MB, free: 1.668 MB / 14.72 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 1.564/1.564, allocations: 227.4 MB / 251.7 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] 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.2398/0.2398, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 76.48 kB / 490.2 MB, free: 27.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1532, allocations: 62.45 MB / 0.5397 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02533/0.1785, allocations: 22.74 MB / 0.5619 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.1939, allocations: 5.522 MB / 0.5673 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006834/0.2008, allocations: 191.4 kB / 0.5675 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02266/0.2236, allocations: 9.486 MB / 0.5767 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009455/0.233, allocations: 2.147 MB / 0.5788 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005916/0.239, allocations: 1.898 MB / 0.5807 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02107/0.26, allocations: 14.47 MB / 0.5948 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.7223/0.9824, allocations: 34.29 MB / 0.6283 GB, free: 18.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01728/0.9997, allocations: 7.963 MB / 0.6361 GB, free: 18.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01744/1.017, allocations: 8.727 MB / 0.6446 GB, free: 16.61 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009905/1.027, allocations: 2.101 MB / 0.6467 GB, free: 16.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/1.041, allocations: 2.351 MB / 0.6489 GB, free: 16.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01082/1.052, allocations: 4.322 MB / 0.6532 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02444/1.076, allocations: 8.429 MB / 0.6614 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04493/1.121, allocations: 28.78 MB / 0.6895 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/1.121, allocations: 0 / 0.6895 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.505e-06/1.121, allocations: 0 / 0.6895 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001162/1.122, allocations: 0 / 0.6895 GB, free: 12.96 MB / 0.4982 GB 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.07399/1.196, allocations: 19 MB / 0.7081 GB, free: 10.02 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 7.733e-05/1.196, allocations: 15.97 kB / 0.7081 GB, free: 10 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06302/1.259, allocations: 11.48 MB / 0.7193 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02611/1.286, allocations: 8.889 MB / 0.728 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00224/1.288, allocations: 1.059 MB / 0.729 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009791/1.298, allocations: 1.373 MB / 0.7303 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08964/1.387, allocations: 23.63 MB / 0.7534 GB, free: 11.97 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009682/1.388, allocations: 19.91 kB / 0.7534 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008177/1.397, allocations: 0.5702 MB / 0.754 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/1.398, allocations: 0.6978 MB / 0.7547 GB, free: 10.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06224/1.46, allocations: 21.74 MB / 0.7759 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6739/2.134, allocations: 72.04 MB / 0.8463 GB, free: 176.7 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04864/2.183, allocations: 28.68 MB / 0.8743 GB, free: 155.5 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01302/2.196, allocations: 4.973 MB / 0.8791 GB, free: 155.5 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03621/2.232, allocations: 16.56 MB / 0.8953 GB, free: 153.1 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.748e-05/2.232, allocations: 81.39 kB / 0.8954 GB, free: 153 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 9.858e-06/2.232, allocations: 3.969 kB / 0.8954 GB, free: 153 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03999/2.272, allocations: 15.76 MB / 0.9108 GB, free: 148.9 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/2.272, allocations: 125.6 kB / 0.9109 GB, free: 148.8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/2.284, allocations: 5.116 MB / 0.9159 GB, free: 147.1 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001392/2.285, allocations: 96.33 kB / 0.916 GB, free: 147 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.005253/2.29, allocations: 6.101 MB / 0.9219 GB, free: 143.5 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002735/2.293, allocations: 1.661 MB / 0.9236 GB, free: 142.4 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006104/2.299, allocations: 1.561 MB / 0.9251 GB, free: 141.6 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/2.299, allocations: 301.1 kB / 0.9254 GB, free: 141.3 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007428/2.307, allocations: 4.151 MB / 0.9294 GB, free: 139.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009782/2.316, allocations: 7.272 MB / 0.9365 GB, free: 134 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/2.333, allocations: 11.95 MB / 0.9482 GB, free: 124.9 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/2.333, allocations: 29.84 kB / 0.9482 GB, free: 124.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02634/2.36, allocations: 13.17 MB / 0.9611 GB, free: 113 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/2.36, allocations: 55.88 kB / 0.9611 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002239/2.36, allocations: 104 kB / 0.9612 GB, free: 112.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006133/2.366, allocations: 3.09 MB / 0.9643 GB, free: 109.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/2.372, allocations: 1.595 MB / 0.9658 GB, free: 108.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009752/2.373, allocations: 350.8 kB / 0.9661 GB, free: 107.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008153/2.382, allocations: 1.075 MB / 0.9672 GB, free: 106.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/2.384, allocations: 391.9 kB / 0.9676 GB, free: 106.4 MB / 0.6388 GB 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.0126/2.396, allocations: 5.381 MB / 0.9728 GB, free: 101 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002166/2.398, allocations: 0.5201 MB / 0.9733 GB, free: 100.5 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/2.417, allocations: 9.635 MB / 0.9827 GB, free: 90.79 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/2.417, allocations: 48 kB / 0.9828 GB, free: 90.74 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/2.417, allocations: 0 / 0.9828 GB, free: 90.74 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/2.417, allocations: 19.92 kB / 0.9828 GB, free: 90.72 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/2.463, allocations: 20.82 MB / 1.003 GB, free: 69.91 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/2.463, allocations: 7.984 kB / 1.003 GB, free: 69.91 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/2.466, allocations: 0.7333 MB / 1.004 GB, free: 69.17 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/2.472, allocations: 2.965 MB / 1.007 GB, free: 66.2 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001205/2.474, allocations: 108 kB / 1.007 GB, free: 66.09 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007185/2.474, allocations: 146.4 kB / 1.007 GB, free: 65.94 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.474, allocations: 0 / 1.007 GB, free: 65.94 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/2.498, allocations: 14.27 MB / 1.021 GB, free: 51.63 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004261/2.502, allocations: 1.391 MB / 1.022 GB, free: 50.22 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002279/2.504, allocations: 79.94 kB / 1.022 GB, free: 50.14 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004367/2.509, allocations: 371.5 kB / 1.023 GB, free: 49.78 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/2.51, allocations: 319.4 kB / 1.023 GB, free: 49.46 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009025/2.511, allocations: 136 kB / 1.023 GB, free: 49.33 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009255/2.52, allocations: 3.423 MB / 1.027 GB, free: 45.91 MB / 0.6388 GB Notification: Performance of sort global known variables: time 5.31e-07/2.52, allocations: 0 / 1.027 GB, free: 45.91 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01134/2.532, allocations: 3.234 MB / 1.03 GB, free: 42.67 MB / 0.6388 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.001546/2.533, allocations: 258.1 kB / 1.03 GB, free: 42.41 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01808/2.551, allocations: 9.935 MB / 1.04 GB, free: 32.47 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.551, allocations: 4 kB / 1.04 GB, free: 32.47 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.008737/2.56, allocations: 4.448 MB / 1.044 GB, free: 28 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009973/2.57, allocations: 1.272 MB / 1.045 GB, free: 26.76 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06331/2.633, allocations: 24.31 MB / 1.069 GB, free: 2.445 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02651/2.66, allocations: 9.01 MB / 1.078 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.01387/2.674, allocations: 2.869 MB / 1.081 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00298/2.677, allocations: 403.3 kB / 1.081 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/2.677, allocations: 4 kB / 1.081 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of Templates: time 0.512/3.189, allocations: 93.51 MB / 1.172 GB, free: 184.9 MB / 0.67 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.866775603964925]