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.0008833/0.0008833, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009222/0.0009222, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.8538/0.8538, allocations: 177 MB / 205.2 MB, free: 5.055 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.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.285e-05, allocations: 5.266 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006197/0.00621, allocations: 8.601 MB / 282 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.009581, allocations: 2.735 MB / 284.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.01002, allocations: 79.62 kB / 284.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.01338, allocations: 3.994 MB / 288.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.01458, allocations: 0.7722 MB / 289.6 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08899/0.1036, allocations: 0.9132 MB / 290.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1066, allocations: 3.776 MB / 294.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005877/0.1125, allocations: 6.344 MB / 300.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.1156, allocations: 3.229 MB / 303.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.1179, allocations: 2.355 MB / 306.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000956/0.1189, allocations: 0.5869 MB / 306.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.1198, allocations: 0.8091 MB / 307.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.1203, allocations: 1.144 MB / 308.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009876/0.1213, allocations: 1.544 MB / 310.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.1233, allocations: 3.97 MB / 314.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1233, allocations: 9.562 kB / 314.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1233, allocations: 0 / 314.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.1233, allocations: 0 / 314.2 MB, free: 4.91 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.004431/0.1277, allocations: 4.741 MB / 319 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.1278, allocations: 15.98 kB / 319 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/0.1318, allocations: 1.702 MB / 320.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.1333, allocations: 1.196 MB / 321.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.1335, allocations: 319.3 kB / 322.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/0.1339, allocations: 407.4 kB / 322.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.1367, allocations: 2.726 MB / 325.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/0.1368, allocations: 3.953 kB / 325.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.137, allocations: 169.7 kB / 325.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.1371, allocations: 176.6 kB / 325.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.1387, allocations: 1.073 MB / 326.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.149, allocations: 11.93 MB / 338.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1504, allocations: 1.134 MB / 339.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.1508, allocations: 336.9 kB / 340.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.454e-05/0.1509, allocations: 48.97 kB / 340.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1509, allocations: 47.55 kB / 340.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 2.585e-06/0.1509, allocations: 0 / 340.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.0006107/0.1515, allocations: 0.5023 MB / 340.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1516, allocations: 68.06 kB / 340.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.1521, allocations: 0.9374 MB / 341.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.1522, allocations: 41.7 kB / 341.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.1528, allocations: 1.748 MB / 343.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.153, allocations: 383.1 kB / 343.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.1533, allocations: 416.2 kB / 344.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.1534, allocations: 350.7 kB / 344.7 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.1537, allocations: 291.2 kB / 344.9 MB, free: 7.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.1543, allocations: 1.197 MB / 346.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1554, allocations: 1.658 MB / 347.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.1554, allocations: 8 kB / 347.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001182/0.1566, allocations: 1.316 MB / 349.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1566, allocations: 27.88 kB / 349.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.1566, allocations: 36 kB / 349.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/0.1566, allocations: 44.81 kB / 349.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.1574, allocations: 0.4895 MB / 349.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.333e-05/0.1575, allocations: 70.97 kB / 349.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.1581, allocations: 258.1 kB / 350 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.1581, allocations: 91.98 kB / 350.1 MB, free: 1.742 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.0003616/0.1585, allocations: 265.9 kB / 350.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.1586, allocations: 105.8 kB / 350.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.1594, allocations: 0.7215 MB / 351.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003062/0.1597, allocations: 323.5 kB / 351.5 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1597, allocations: 4 kB / 351.5 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1597, allocations: 7.969 kB / 351.5 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.164, allocations: 3.972 MB / 355.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.164, allocations: 20 kB / 355.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.1644, allocations: 204.5 kB / 355.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.1644, allocations: 28 kB / 355.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.1645, allocations: 43.98 kB / 355.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.919e-05/0.1645, allocations: 38.92 kB / 355.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.1645, allocations: 34.22 kB / 355.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1656, allocations: 1.552 MB / 357.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.1658, allocations: 190.3 kB / 357.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.434e-05/0.1659, allocations: 47.98 kB / 357.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.1662, allocations: 40 kB / 357.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1663, allocations: 149.3 kB / 357.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1664, allocations: 48 kB / 357.9 MB, free: 9.953 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002871/0.1666, allocations: 393.8 kB / 358.3 MB, free: 9.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1666, allocations: 0 / 358.3 MB, free: 9.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001191/0.1678, allocations: 0.8793 MB / 359.2 MB, free: 8.723 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.000216/0.1681, allocations: 191.8 kB / 359.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007937/0.1688, allocations: 0.9315 MB / 360.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.483e-05/0.1689, allocations: 35.5 kB / 360.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.1692, allocations: 310 kB / 360.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.1702, allocations: 332.5 kB / 360.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.1754, allocations: 5.613 MB / 366.5 MB, free: 1.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.176, allocations: 0.7148 MB / 367.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000438/0.1764, allocations: 224.7 kB / 367.5 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.1769, allocations: 321.2 kB / 367.8 MB, free: 20 kB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1769, allocations: 0 / 367.8 MB, free: 20 kB / 314.7 MB Notification: Performance of Templates: time 0.02244/0.1993, allocations: 17.37 MB / 385.2 MB, free: 14.97 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.6565392068587244]