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.001372/0.001372, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001241/0.001241, allocations: 145.1 kB / 24.54 MB, free: 36 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.028/1.028, allocations: 173.4 MB / 201.2 MB, free: 9.312 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.453e-06/1.453e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.543e-05, allocations: 2.312 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007258/0.007274, allocations: 8.872 MB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.01031, allocations: 2.546 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.01072, allocations: 71.69 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.01436, allocations: 3.994 MB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.01623, allocations: 0.92 MB / 284.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.01723, allocations: 0.7819 MB / 285.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.0196, allocations: 3.777 MB / 289 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1279/0.1475, allocations: 6.142 MB / 295.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.1521, allocations: 3.197 MB / 298.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.156, allocations: 2.303 MB / 300.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.1574, allocations: 0.5837 MB / 301.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.159, allocations: 0.7806 MB / 302 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006089/0.1596, allocations: 1.15 MB / 303.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.1608, allocations: 1.545 MB / 304.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.1636, allocations: 3.95 MB / 308.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1636, allocations: 1.25 kB / 308.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1636, allocations: 0.5625 kB / 308.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.176e-05/0.1636, allocations: 1.031 kB / 308.6 MB, free: 10.51 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.005543/0.1691, allocations: 5.292 MB / 313.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1692, allocations: 10.59 kB / 313.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/0.1739, allocations: 1.785 MB / 315.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.1768, allocations: 2.167 MB / 317.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.1769, allocations: 317.4 kB / 318.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/0.1775, allocations: 412 kB / 318.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.1826, allocations: 2.506 MB / 321.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.908e-05/0.1826, allocations: 0 / 321.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.183, allocations: 168 kB / 321.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.932e-05/0.1831, allocations: 176.6 kB / 321.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.1857, allocations: 1.526 MB / 322.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.2, allocations: 15.7 MB / 338.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.202, allocations: 1.529 MB / 340.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.2026, allocations: 417.1 kB / 340.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.2027, allocations: 36.97 kB / 340.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2027, allocations: 54.33 kB / 340.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.757e-06/0.2027, allocations: 0 / 340.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001155/0.2039, allocations: 0.777 MB / 341.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2039, allocations: 72.25 kB / 341.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.2052, allocations: 1.391 MB / 342.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.2053, allocations: 45.7 kB / 343 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.2062, allocations: 1.948 MB / 344.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.2066, allocations: 389.1 kB / 345.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/0.207, allocations: 0.5015 MB / 345.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2072, allocations: 0.5277 MB / 346.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.2076, allocations: 284.1 kB / 346.6 MB, free: 7.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.2087, allocations: 1.782 MB / 348.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.2105, allocations: 2.255 MB / 350.6 MB, free: 2.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.2105, allocations: 8 kB / 350.6 MB, free: 2.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002125/0.2126, allocations: 1.758 MB / 352.4 MB, free: 1.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.2127, allocations: 27.97 kB / 352.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.2127, allocations: 32 kB / 352.4 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/0.2127, allocations: 48 kB / 352.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.2136, allocations: 0.5178 MB / 353 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.212e-05/0.2137, allocations: 75.14 kB / 353.1 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.2144, allocations: 298 kB / 353.4 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.2145, allocations: 120 kB / 353.5 MB, free: 20 kB / 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.0005784/0.2151, allocations: 304.7 kB / 353.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2152, allocations: 167.1 kB / 354 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2163, allocations: 0.9376 MB / 354.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005878/0.2169, allocations: 0.4986 MB / 355.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2169, allocations: 0 / 355.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2169, allocations: 3.984 kB / 355.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/0.2232, allocations: 4.834 MB / 360.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.2232, allocations: 20 kB / 360.3 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.2236, allocations: 232.3 kB / 360.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.2236, allocations: 32.06 kB / 360.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.2237, allocations: 48 kB / 360.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.512e-05/0.2237, allocations: 42.81 kB / 360.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/0.2237, allocations: 34.22 kB / 360.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.2253, allocations: 1.914 MB / 362.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.2256, allocations: 246.8 kB / 362.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.2257, allocations: 55.97 kB / 362.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.2261, allocations: 63.95 kB / 362.9 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.2263, allocations: 152.9 kB / 363.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.2263, allocations: 56 kB / 363.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006155/0.2269, allocations: 0.6327 MB / 363.7 MB, free: 5.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2269, allocations: 0 / 363.7 MB, free: 5.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001787/0.2287, allocations: 0.8793 MB / 364.6 MB, free: 4.262 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.0002893/0.229, allocations: 216.8 kB / 364.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.2304, allocations: 1.128 MB / 366 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2304, allocations: 0 / 366 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.2308, allocations: 336.2 kB / 366.3 MB, free: 2.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.232, allocations: 348.6 kB / 366.6 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.2379, allocations: 5.867 MB / 372.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/0.2388, allocations: 0.9998 MB / 373.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009152/0.2397, allocations: 0.6752 MB / 374.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.2399, allocations: 112.5 kB / 374.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2399, allocations: 0 / 374.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of Templates: time 0.02045/0.2604, allocations: 15.69 MB / 390 MB, free: 10.98 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.375259719789028]