Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.134e-05/4.288e-05, allocations: 6.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01716/0.0172, allocations: 12 MB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009697/0.0269, allocations: 3.672 MB / 283 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.02941, allocations: 119.4 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01413/0.04355, allocations: 5.463 MB / 288.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1434/0.1869, allocations: 1.562 MB / 290.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003583/0.1905, allocations: 1.045 MB / 291.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009247/0.1998, allocations: 6.591 MB / 297.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.2135, allocations: 9.076 MB / 306.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008278/0.2218, allocations: 4.937 MB / 311.8 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.2266, allocations: 3.347 MB / 315.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.2281, allocations: 0.8867 MB / 316 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.2303, allocations: 1.062 MB / 317.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.2314, allocations: 1.807 MB / 318.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003694/0.2351, allocations: 2.401 MB / 321.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.2528, allocations: 12.1 MB / 333.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.2528, allocations: 0 / 333.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.2528, allocations: 0 / 333.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004097/0.2532, allocations: 0 / 333.4 MB, free: 3.656 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.026/0.2793, allocations: 7.774 MB / 341.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2793, allocations: 12.92 kB / 341.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02744/0.3067, allocations: 3.794 MB / 345 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.3202, allocations: 3.893 MB / 348.9 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008462/0.321, allocations: 493 kB / 349.4 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00285/0.3239, allocations: 0.619 MB / 350 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03225/0.3561, allocations: 9.465 MB / 359.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/0.3563, allocations: 7.953 kB / 359.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001425/0.3578, allocations: 276.2 kB / 359.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005322/0.3583, allocations: 309.4 kB / 360 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.3772, allocations: 7.919 MB / 368 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04678/0.424, allocations: 24.83 MB / 392.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/0.4331, allocations: 3.911 MB / 396.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.4358, allocations: 1.456 MB / 398.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.436, allocations: 61.97 kB / 398.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.98e-05/0.4361, allocations: 60.56 kB / 398.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 5.019e-06/0.4361, allocations: 4 kB / 398.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.008969/0.4451, allocations: 4.078 MB / 402.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.4452, allocations: 103.1 kB / 402.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/0.4484, allocations: 1.96 MB / 404.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.4485, allocations: 73.69 kB / 404.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002177/0.4507, allocations: 2.63 MB / 407.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008947/0.4516, allocations: 0.8387 MB / 408 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.4527, allocations: 0.6601 MB / 408.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4528, allocations: 305.1 kB / 408.9 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.4552, allocations: 1.404 MB / 410.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003547/0.4587, allocations: 2.598 MB / 412.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006151/0.4649, allocations: 4.23 MB / 417.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/0.4649, allocations: 8 kB / 417.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008207/0.4731, allocations: 4.677 MB / 421.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.4731, allocations: 24 kB / 421.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-05/0.4732, allocations: 36 kB / 421.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.4744, allocations: 363.4 kB / 422.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.4773, allocations: 0.7844 MB / 423 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.4838, allocations: 4.754 MB / 427.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.4862, allocations: 429.1 kB / 428.2 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/0.4865, allocations: 164 kB / 428.4 MB, free: 4.055 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003934/0.4904, allocations: 2.187 MB / 430.5 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.491, allocations: 294.5 kB / 430.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1183/0.6093, allocations: 3.173 MB / 434 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.6094, allocations: 25.22 kB / 434 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.6094, allocations: 6.078 kB / 434 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.6094, allocations: 11.48 kB / 434.1 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.6241, allocations: 9.557 MB / 443.6 MB, free: 115 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.6241, allocations: 13.78 kB / 443.6 MB, free: 115 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.6258, allocations: 441 kB / 444.1 MB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/0.6266, allocations: 318.8 kB / 444.4 MB, free: 114.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.6268, allocations: 67.12 kB / 444.4 MB, free: 114.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/0.6307, allocations: 4.703 MB / 449.1 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/0.6307, allocations: 19.38 kB / 449.2 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.6361, allocations: 5.055 MB / 454.2 MB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008436/0.637, allocations: 485.7 kB / 454.7 MB, free: 108.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.6372, allocations: 57.69 kB / 454.7 MB, free: 108.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.6384, allocations: 133.5 kB / 454.9 MB, free: 108.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.6387, allocations: 213.1 kB / 455.1 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.6388, allocations: 85.31 kB / 455.2 MB, free: 108.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001399/0.6402, allocations: 1.277 MB / 456.4 MB, free: 108 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6402, allocations: 0 / 456.4 MB, free: 108 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003118/0.6433, allocations: 1.452 MB / 457.9 MB, free: 107.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.6437, allocations: 228.3 kB / 458.1 MB, free: 107.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.6478, allocations: 3.481 MB / 461.6 MB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.6478, allocations: 3.938 kB / 461.6 MB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.6496, allocations: 1.592 MB / 463.2 MB, free: 105.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.652, allocations: 0.5177 MB / 463.7 MB, free: 105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.6655, allocations: 10.21 MB / 473.9 MB, free: 95.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.6684, allocations: 3.485 MB / 477.4 MB, free: 92.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002613/0.671, allocations: 1.193 MB / 478.6 MB, free: 91.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.6715, allocations: 192.5 kB / 478.8 MB, free: 90.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6715, allocations: 0 / 478.8 MB, free: 90.89 MB / 378.7 MB Notification: Performance of Templates: time 0.04188/0.7134, allocations: 29.63 MB / 0.4965 GB, free: 61.64 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 5.637074725003913]