Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001395/0.001395, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001619/0.001619, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.978/0.978, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.171e-05, allocations: 8.984 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006481/0.006503, allocations: 8.59 MB / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.01024, allocations: 2.589 MB / 284.5 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.01066, allocations: 75.62 kB / 284.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003457/0.01412, allocations: 3.885 MB / 288.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.01546, allocations: 0.7606 MB / 289.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.01654, allocations: 0.8956 MB / 290.1 MB, free: 348 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1173/0.1338, allocations: 3.777 MB / 293.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007815/0.1417, allocations: 6.138 MB / 300 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.1457, allocations: 3.213 MB / 303.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.1483, allocations: 2.308 MB / 305.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007925/0.1491, allocations: 0.5845 MB / 306.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1503, allocations: 0.8084 MB / 307 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006052/0.1509, allocations: 1.151 MB / 308.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.1523, allocations: 1.539 MB / 309.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.1555, allocations: 3.973 MB / 313.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1555, allocations: 3.469 kB / 313.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1555, allocations: 0 / 313.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.844e-05/0.1555, allocations: 4.844 kB / 313.6 MB, free: 5.555 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.007055/0.1626, allocations: 5.165 MB / 318.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1626, allocations: 17.52 kB / 318.8 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.1688, allocations: 1.66 MB / 320.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.1715, allocations: 2.024 MB / 322.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.1717, allocations: 313.4 kB / 322.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005097/0.1722, allocations: 413.9 kB / 323.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.1764, allocations: 2.203 MB / 325.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/0.1765, allocations: 15.02 kB / 325.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/0.1768, allocations: 168 kB / 325.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.177, allocations: 184.6 kB / 325.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.1793, allocations: 1.228 MB / 327 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.1989, allocations: 15.53 MB / 342.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.2005, allocations: 1.192 MB / 343.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.201, allocations: 367.1 kB / 344.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.2011, allocations: 59.84 kB / 344.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2011, allocations: 57.42 kB / 344.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 2.605e-06/0.2011, allocations: 0 / 344.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.0009208/0.2021, allocations: 0.6944 MB / 344.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2021, allocations: 64.41 kB / 344.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2032, allocations: 1.378 MB / 346.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.2033, allocations: 45.7 kB / 346.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.2045, allocations: 1.959 MB / 348.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.2047, allocations: 401.8 kB / 348.7 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004211/0.2051, allocations: 0.5117 MB / 349.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2052, allocations: 0.5386 MB / 349.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.2055, allocations: 216.1 kB / 350 MB, free: 2.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.2064, allocations: 1.724 MB / 351.7 MB, free: 112 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.2081, allocations: 2.168 MB / 353.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.2081, allocations: 8 kB / 353.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001688/0.2098, allocations: 1.618 MB / 355.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.2098, allocations: 20.56 kB / 355.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.2099, allocations: 36.91 kB / 355.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.2099, allocations: 48 kB / 355.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.2108, allocations: 0.5015 MB / 356.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-05/0.2108, allocations: 64.36 kB / 356.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.2115, allocations: 249 kB / 356.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.2116, allocations: 99.97 kB / 356.5 MB, free: 11.11 MB / 314.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.0006273/0.2122, allocations: 318.2 kB / 356.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.2124, allocations: 163.1 kB / 357 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009334/0.2133, allocations: 0.8729 MB / 357.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004399/0.2137, allocations: 446.5 kB / 358.3 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2138, allocations: 4 kB / 358.3 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2138, allocations: 3.984 kB / 358.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/0.2204, allocations: 4.926 MB / 363.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.2204, allocations: 20 kB / 363.2 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.2208, allocations: 206.5 kB / 363.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.2208, allocations: 28 kB / 363.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.2209, allocations: 55.98 kB / 363.5 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.007e-05/0.2209, allocations: 39.3 kB / 363.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/0.2209, allocations: 35.28 kB / 363.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.2224, allocations: 1.82 MB / 365.4 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.2227, allocations: 225.7 kB / 365.6 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/0.2228, allocations: 55.86 kB / 365.7 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.2232, allocations: 39.98 kB / 365.7 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2233, allocations: 150.1 kB / 365.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.2233, allocations: 60.02 kB / 365.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004619/0.2238, allocations: 0.5902 MB / 366.5 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2238, allocations: 0 / 366.5 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001818/0.2256, allocations: 0.8793 MB / 367.4 MB, free: 108 kB / 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.0002841/0.2259, allocations: 208.2 kB / 367.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.227, allocations: 1.06 MB / 368.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.227, allocations: 4 kB / 368.7 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.2273, allocations: 332.2 kB / 369 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.2284, allocations: 356.4 kB / 369.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.2347, allocations: 5.803 MB / 375.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.2354, allocations: 1.004 MB / 376.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.2359, allocations: 220.7 kB / 376.4 MB, free: 7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.2363, allocations: 366 kB / 376.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2363, allocations: 0 / 376.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Templates: time 0.02434/0.2607, allocations: 17.19 MB / 393.9 MB, free: 5.762 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9520209999755025]