Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001633/0.001633, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001665/0.001665, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.92 kB / 379.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2572, allocations: 53.36 MB / 432.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01549/0.2727, allocations: 14.01 MB / 446.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008152/0.2808, allocations: 3.87 MB / 450.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.2828, allocations: 119.4 kB / 450.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.2955, allocations: 5.613 MB / 456 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007003/0.3025, allocations: 1.423 MB / 457.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.3059, allocations: 1.226 MB / 458.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009549/0.3154, allocations: 6.487 MB / 465.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/0.3319, allocations: 9.15 MB / 474.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004868/0.3368, allocations: 3.367 MB / 477.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.343, allocations: 3.886 MB / 481.6 MB, free: 5.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001782/0.3448, allocations: 0.8828 MB / 482.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.3472, allocations: 1.09 MB / 483.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.3488, allocations: 1.769 MB / 485.3 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004306/0.3531, allocations: 3.571 MB / 488.9 MB, free: 14.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.3657, allocations: 12 MB / 0.4891 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3657, allocations: 0 / 0.4891 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3657, allocations: 0 / 0.4891 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002604/0.366, allocations: 0 / 0.4891 GB, free: 2.113 MB / 398.1 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.01914/0.3851, allocations: 7.837 MB / 0.4968 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3852, allocations: 11.97 kB / 0.4968 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/0.4039, allocations: 2.877 MB / 0.4996 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009554/0.4135, allocations: 3.748 MB / 0.5033 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/0.4141, allocations: 481 kB / 0.5037 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/0.4163, allocations: 0.621 MB / 0.5043 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.4374, allocations: 9.338 MB / 0.5135 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.4376, allocations: 11.94 kB / 0.5135 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006884/0.4382, allocations: 264 kB / 0.5137 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003677/0.4386, allocations: 317.4 kB / 0.514 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.4542, allocations: 7.973 MB / 0.5218 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2735/0.7277, allocations: 27.39 MB / 0.5486 GB, free: 84.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006978/0.7347, allocations: 3.957 MB / 0.5524 GB, free: 83.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.7366, allocations: 1.446 MB / 0.5538 GB, free: 82.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.7368, allocations: 90.02 kB / 0.5539 GB, free: 82.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.7368, allocations: 55.88 kB / 0.554 GB, free: 82.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.448e-06/0.7368, allocations: 0 / 0.554 GB, free: 82.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006493/0.7433, allocations: 4.032 MB / 0.5579 GB, free: 81.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.7434, allocations: 113.4 kB / 0.558 GB, free: 81.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.7455, allocations: 1.902 MB / 0.5599 GB, free: 80.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.7456, allocations: 66.72 kB / 0.5599 GB, free: 80.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.7467, allocations: 2.631 MB / 0.5625 GB, free: 78.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/0.7471, allocations: 0.8516 MB / 0.5633 GB, free: 77.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007416/0.7478, allocations: 0.675 MB / 0.564 GB, free: 77.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.7479, allocations: 301.1 kB / 0.5643 GB, free: 77.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.7495, allocations: 1.403 MB / 0.5657 GB, free: 76.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.7515, allocations: 2.604 MB / 0.5682 GB, free: 74.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.7552, allocations: 4.245 MB / 0.5723 GB, free: 70.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.7552, allocations: 10.47 kB / 0.5724 GB, free: 70.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005399/0.7606, allocations: 4.536 MB / 0.5768 GB, free: 66.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.7606, allocations: 23.94 kB / 0.5768 GB, free: 66.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.7606, allocations: 40 kB / 0.5768 GB, free: 66.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.7613, allocations: 310.1 kB / 0.5771 GB, free: 66.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.7636, allocations: 0.787 MB / 0.5779 GB, free: 65.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.7675, allocations: 4.855 MB / 0.5826 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.7694, allocations: 420 kB / 0.583 GB, free: 59.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.7696, allocations: 164 kB / 0.5832 GB, free: 59.61 MB / 446.1 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.002643/0.7722, allocations: 2.192 MB / 0.5853 GB, free: 57.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.7725, allocations: 226.5 kB / 0.5856 GB, free: 57.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.7766, allocations: 3.17 MB / 0.5887 GB, free: 53.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.7766, allocations: 24 kB / 0.5887 GB, free: 53.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7766, allocations: 4 kB / 0.5887 GB, free: 53.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.7766, allocations: 11.95 kB / 0.5887 GB, free: 53.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.7896, allocations: 11.02 MB / 0.5995 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.7896, allocations: 12 kB / 0.5995 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.7911, allocations: 443.3 kB / 0.5999 GB, free: 42.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/0.7917, allocations: 272.7 kB / 0.6002 GB, free: 42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.7918, allocations: 67.98 kB / 0.6002 GB, free: 41.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/0.7955, allocations: 4.778 MB / 0.6049 GB, free: 36.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.7955, allocations: 23.81 kB / 0.6049 GB, free: 36.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/0.8006, allocations: 5.018 MB / 0.6098 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.8016, allocations: 477.8 kB / 0.6103 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.8019, allocations: 63.98 kB / 0.6103 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.8031, allocations: 123.9 kB / 0.6104 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.8034, allocations: 217.2 kB / 0.6107 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.8036, allocations: 87.98 kB / 0.6107 GB, free: 30.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001599/0.8052, allocations: 1.294 MB / 0.612 GB, free: 29.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8052, allocations: 0 / 0.612 GB, free: 29.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003337/0.8085, allocations: 1.459 MB / 0.6134 GB, free: 27.98 MB / 446.1 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.0003402/0.8088, allocations: 218.6 kB / 0.6136 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004448/0.8133, allocations: 3.502 MB / 0.6171 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.8133, allocations: 4 kB / 0.6171 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.8151, allocations: 1.593 MB / 0.6186 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.8175, allocations: 0.5156 MB / 0.6191 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.8322, allocations: 9.966 MB / 0.6288 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/0.8351, allocations: 3.9 MB / 0.6327 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009488/0.8361, allocations: 239.4 kB / 0.6329 GB, free: 7.754 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8361, allocations: 0 / 0.6329 GB, free: 7.754 MB / 446.1 MB Notification: Performance of Templates: time 0.3789/1.215, allocations: 125.5 MB / 0.7554 GB, free: 188 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 11.915401055011898]