Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001433/0.001433, allocations: 72.08 kB / 21.69 MB, free: 2.852 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.001562/0.001562, allocations: 140.8 kB / 24.97 MB, free: 9.348 MB / 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 0.9795/0.9795, allocations: 173.3 MB / 201.5 MB, free: 8.938 MB / 186.7 MB " [Timeout remaining time 179] 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 268.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.728e-05, allocations: 6.312 kB / 268.1 MB, free: 6.582 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01166/0.01169, allocations: 8.817 MB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.01773, allocations: 2.538 MB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.01916, allocations: 71.69 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006511/0.02567, allocations: 3.983 MB / 283.5 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.02918, allocations: 0.9239 MB / 284.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.03109, allocations: 0.7916 MB / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.03573, allocations: 3.777 MB / 289 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1229/0.1586, allocations: 6.131 MB / 295.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.1618, allocations: 3.203 MB / 298.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/0.1648, allocations: 2.278 MB / 300.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.1662, allocations: 0.5859 MB / 301.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.1675, allocations: 0.7927 MB / 302 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007269/0.1683, allocations: 1.147 MB / 303.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.1696, allocations: 1.543 MB / 304.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.1722, allocations: 3.953 MB / 308.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1722, allocations: 0.5938 kB / 308.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1722, allocations: 0 / 308.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.303e-05/0.1723, allocations: 0.5938 kB / 308.6 MB, free: 10.97 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.006289/0.1786, allocations: 5.285 MB / 313.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1786, allocations: 6.562 kB / 313.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004405/0.183, allocations: 1.795 MB / 315.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.1848, allocations: 2.167 MB / 317.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1849, allocations: 313.3 kB / 318.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.1852, allocations: 412 kB / 318.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.1884, allocations: 2.505 MB / 321.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.468e-05/0.1885, allocations: 4 kB / 321.1 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.1887, allocations: 171 kB / 321.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.1888, allocations: 176.6 kB / 321.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.1913, allocations: 1.522 MB / 322.9 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.2057, allocations: 15.7 MB / 338.6 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.2083, allocations: 1.529 MB / 340.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.2089, allocations: 418.8 kB / 340.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.209, allocations: 36.98 kB / 340.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.2091, allocations: 54.31 kB / 340.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 5.29e-06/0.2091, allocations: 0 / 340.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001314/0.2104, allocations: 0.7767 MB / 341.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.2104, allocations: 76.39 kB / 341.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.2118, allocations: 1.388 MB / 342.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.2119, allocations: 41.7 kB / 343 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/0.2128, allocations: 1.955 MB / 344.9 MB, free: 10 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.2131, allocations: 389.8 kB / 345.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/0.2136, allocations: 0.5015 MB / 345.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2137, allocations: 0.5277 MB / 346.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.2141, allocations: 284.1 kB / 346.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.2153, allocations: 1.778 MB / 348.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.2169, allocations: 2.26 MB / 350.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.217, allocations: 8 kB / 350.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002071/0.219, allocations: 1.759 MB / 352.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.2191, allocations: 27.97 kB / 352.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.2191, allocations: 32 kB / 352.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.192e-05/0.2191, allocations: 48 kB / 352.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.2201, allocations: 0.5202 MB / 353 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.154e-05/0.2201, allocations: 73.56 kB / 353.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.2209, allocations: 294 kB / 353.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.221, allocations: 112 kB / 353.5 MB, free: 0.5078 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007235/0.2217, allocations: 313.6 kB / 353.8 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.2219, allocations: 163.1 kB / 354 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.223, allocations: 0.9321 MB / 354.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006005/0.2236, allocations: 0.502 MB / 355.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2236, allocations: 3.984 kB / 355.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.2236, allocations: 7.984 kB / 355.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/0.2302, allocations: 4.825 MB / 360.2 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.2302, allocations: 20 kB / 360.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.2306, allocations: 237.1 kB / 360.5 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.2307, allocations: 28 kB / 360.5 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.2307, allocations: 48 kB / 360.6 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.755e-05/0.2307, allocations: 34.92 kB / 360.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/0.2308, allocations: 38.39 kB / 360.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.2326, allocations: 1.916 MB / 362.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.2329, allocations: 250.8 kB / 362.8 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.233, allocations: 55.97 kB / 362.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.2335, allocations: 63.95 kB / 362.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.2336, allocations: 148 kB / 363 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.2336, allocations: 59.98 kB / 363.1 MB, free: 6.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006277/0.2343, allocations: 0.6327 MB / 363.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2343, allocations: 0 / 363.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002079/0.2363, allocations: 0.8793 MB / 364.6 MB, free: 4.742 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000299/0.2366, allocations: 215.8 kB / 364.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.238, allocations: 1.121 MB / 366 MB, free: 3.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.238, allocations: 4 kB / 366 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.2384, allocations: 338 kB / 366.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.2396, allocations: 356 kB / 366.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006967/0.2465, allocations: 5.863 MB / 372.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.2473, allocations: 1.004 MB / 373.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001022/0.2483, allocations: 0.6717 MB / 374.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.2485, allocations: 108.5 kB / 374.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.923e-06/0.2485, allocations: 0 / 374.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of Templates: time 0.0219/0.2704, allocations: 15.7 MB / 390 MB, free: 11.46 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.07616428588517]