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.001508/0.001508, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00206/0.00206, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.558/1.558, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.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.2424/0.2424, allocations: 46.89 MB / 361.3 MB, free: 4.438 MB / 286.1 MB " [Timeout remaining time 179] 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.002547/0.002547, allocations: 87.8 kB / 0.4971 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3573, allocations: 66.02 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02641/0.3837, allocations: 22.87 MB / 0.5839 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.3977, allocations: 5.545 MB / 0.5893 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00492/0.4026, allocations: 238.8 kB / 0.5895 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02206/0.4247, allocations: 9.59 MB / 0.5989 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008896/0.4336, allocations: 2.206 MB / 0.601 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006344/0.4399, allocations: 1.941 MB / 0.6029 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0199/0.4598, allocations: 14.55 MB / 0.6171 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0412/0.501, allocations: 20.06 MB / 0.6367 GB, free: 7.223 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01555/0.5166, allocations: 8.156 MB / 0.6447 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01728/0.5339, allocations: 8.803 MB / 0.6533 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007854/0.5417, allocations: 2.098 MB / 0.6553 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009568/0.5513, allocations: 2.355 MB / 0.6576 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008517/0.5598, allocations: 4.329 MB / 0.6619 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01955/0.5794, allocations: 8.432 MB / 0.6701 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04364/0.623, allocations: 28.78 MB / 0.6982 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.623, allocations: 4 kB / 0.6982 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.565e-06/0.623, allocations: 3.844 kB / 0.6982 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.00146/0.6245, allocations: 0 / 0.6982 GB, free: 8.082 MB / 0.5294 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.07662/0.7011, allocations: 18.93 MB / 0.7167 GB, free: 5.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.7011, allocations: 12.03 kB / 0.7167 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06381/0.765, allocations: 11.48 MB / 0.7279 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02519/0.7901, allocations: 9.055 MB / 0.7368 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.6053/1.395, allocations: 1.055 MB / 0.7378 GB, free: 132.3 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00567/1.401, allocations: 1.372 MB / 0.7391 GB, free: 132.3 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05706/1.458, allocations: 23.63 MB / 0.7622 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000614/1.459, allocations: 19.22 kB / 0.7622 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004276/1.463, allocations: 0.5721 MB / 0.7628 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/1.464, allocations: 0.7006 MB / 0.7635 GB, free: 123 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04147/1.505, allocations: 21.74 MB / 0.7847 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1133/1.618, allocations: 69.75 MB / 0.8528 GB, free: 31.43 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/1.634, allocations: 11.4 MB / 0.8639 GB, free: 21.44 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007458/1.641, allocations: 4.508 MB / 0.8683 GB, free: 16.91 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02662/1.668, allocations: 15.28 MB / 0.8833 GB, free: 1.766 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.852e-05/1.668, allocations: 78.11 kB / 0.8833 GB, free: 1.68 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.933e-06/1.668, allocations: 0 / 0.8833 GB, free: 1.68 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03962/1.708, allocations: 15.44 MB / 0.8984 GB, free: 2.211 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.708, allocations: 132.7 kB / 0.8985 GB, free: 2.062 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.718, allocations: 5.115 MB / 0.9035 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.719, allocations: 97.7 kB / 0.9036 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005215/1.724, allocations: 6.1 MB / 0.9096 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002614/1.727, allocations: 1.662 MB / 0.9112 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003133/1.73, allocations: 1.555 MB / 0.9127 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.73, allocations: 305.1 kB / 0.913 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007624/1.738, allocations: 4.148 MB / 0.9171 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.75, allocations: 7.274 MB / 0.9242 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0189/1.768, allocations: 11.96 MB / 0.9359 GB, free: 9.48 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/1.769, allocations: 28 kB / 0.9359 GB, free: 9.453 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02679/1.795, allocations: 13.08 MB / 0.9487 GB, free: 12.35 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.795, allocations: 55.94 kB / 0.9487 GB, free: 12.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/1.796, allocations: 108.9 kB / 0.9488 GB, free: 12.19 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007011/1.803, allocations: 3.086 MB / 0.9518 GB, free: 9.098 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006417/1.809, allocations: 1.599 MB / 0.9534 GB, free: 7.496 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009817/1.81, allocations: 346.9 kB / 0.9537 GB, free: 7.145 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006513/1.817, allocations: 1.075 MB / 0.9548 GB, free: 6.062 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.818, allocations: 384 kB / 0.9551 GB, free: 5.688 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.01209/1.83, allocations: 5.383 MB / 0.9604 GB, free: 296 kB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/1.832, allocations: 0.5239 MB / 0.9609 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/1.852, allocations: 9.553 MB / 0.9702 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/1.852, allocations: 51.98 kB / 0.9703 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.852, allocations: 7.938 kB / 0.9703 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/1.852, allocations: 23.91 kB / 0.9703 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04451/1.897, allocations: 20.86 MB / 0.9907 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/1.897, allocations: 4 kB / 0.9907 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003833/1.901, allocations: 0.7332 MB / 0.9914 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3752/2.276, allocations: 2.968 MB / 0.9943 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/2.277, allocations: 103.6 kB / 0.9944 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006831/2.278, allocations: 154.7 kB / 0.9945 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.278, allocations: 0 / 0.9945 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/2.3, allocations: 14.19 MB / 1.008 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004973/2.305, allocations: 1.368 MB / 1.01 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/2.306, allocations: 79.44 kB / 1.01 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004103/2.31, allocations: 363.8 kB / 1.01 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/2.311, allocations: 333.9 kB / 1.01 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003488/2.312, allocations: 135.4 kB / 1.011 GB, free: 216.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006659/2.318, allocations: 3.423 MB / 1.014 GB, free: 215.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/2.318, allocations: 3.938 kB / 1.014 GB, free: 215.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01137/2.33, allocations: 3.238 MB / 1.017 GB, free: 214.5 MB / 0.67 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.001542/2.331, allocations: 257.4 kB / 1.017 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01822/2.349, allocations: 9.523 MB / 1.027 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.349, allocations: 0 / 1.027 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008917/2.358, allocations: 4.105 MB / 1.031 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/2.369, allocations: 1.271 MB / 1.032 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05196/2.421, allocations: 24.55 MB / 1.056 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01841/2.439, allocations: 9.012 MB / 1.065 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008125/2.447, allocations: 2.873 MB / 1.067 GB, free: 177.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/2.449, allocations: 395.9 kB / 1.068 GB, free: 177.3 MB / 0.67 GB Notification: Performance of SimCode: time 3.186e-06/2.449, allocations: 0 / 1.068 GB, free: 177.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1539/2.603, allocations: 98.75 MB / 1.164 GB, free: 79.2 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.795707194134593]