Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0007522/0.0007522, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001805, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007115/0.0007115, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001752, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08085/1.119, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.839e-05, allocations: 5.266 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009904/0.009922, allocations: 8.704 MB / 253.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005942/0.01586, allocations: 2.755 MB / 256.2 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.01706, allocations: 79.62 kB / 256.2 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.02076, allocations: 3.97 MB / 260.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.02244, allocations: 0.7644 MB / 261 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.02369, allocations: 0.9033 MB / 261.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.02656, allocations: 3.802 MB / 265.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007412/0.03397, allocations: 6.227 MB / 271.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1161/0.15, allocations: 3.267 MB / 275.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.1532, allocations: 2.334 MB / 277.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00163/0.1548, allocations: 0.5845 MB / 278.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.1568, allocations: 0.8232 MB / 278.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008864/0.1577, allocations: 0.9001 MB / 279.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.1596, allocations: 1.287 MB / 281.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.1634, allocations: 3.756 MB / 284.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.1634, allocations: 0 / 284.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1634, allocations: 0 / 284.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002509/0.1636, allocations: 0 / 284.9 MB, free: 5.906 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.007877/0.1715, allocations: 5.583 MB / 290.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.1715, allocations: 14.34 kB / 290.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.1756, allocations: 1.691 MB / 292.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.1773, allocations: 1.201 MB / 293.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.1774, allocations: 316.7 kB / 293.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.1777, allocations: 406.7 kB / 294.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.1809, allocations: 2.729 MB / 296.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.1809, allocations: 6.109 kB / 296.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.1812, allocations: 168 kB / 297 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.112e-05/0.1813, allocations: 182.2 kB / 297.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1827, allocations: 1.055 MB / 298.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.1942, allocations: 12.02 MB / 310.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1956, allocations: 1.129 MB / 311.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.196, allocations: 338 kB / 311.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.1961, allocations: 48.95 kB / 311.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1961, allocations: 43.56 kB / 311.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 2.875e-06/0.1961, allocations: 0 / 311.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0006519/0.1968, allocations: 0.5056 MB / 312.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.1968, allocations: 60.41 kB / 312.3 MB, free: 4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.1975, allocations: 0.938 MB / 313.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.1975, allocations: 41.7 kB / 313.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.1982, allocations: 1.748 MB / 315.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.1983, allocations: 382 kB / 315.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.1987, allocations: 420.7 kB / 315.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1988, allocations: 350.2 kB / 316.2 MB, free: 428 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.1991, allocations: 287.2 kB / 316.5 MB, free: 136 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.1997, allocations: 1.192 MB / 317.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.201, allocations: 1.784 MB / 319.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.201, allocations: 12 kB / 319.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001318/0.2023, allocations: 1.313 MB / 320.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2024, allocations: 24.91 kB / 320.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.2024, allocations: 36 kB / 320.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.2024, allocations: 52 kB / 320.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.2034, allocations: 0.5603 MB / 321.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.57e-05/0.2034, allocations: 65.66 kB / 321.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.2041, allocations: 254.1 kB / 321.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/0.2042, allocations: 95.98 kB / 321.8 MB, free: 10.32 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.000487/0.2047, allocations: 266.2 kB / 322.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2048, allocations: 107.9 kB / 322.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.2056, allocations: 0.7227 MB / 322.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002938/0.2059, allocations: 320.5 kB / 323.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2059, allocations: 8 kB / 323.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2059, allocations: 3.984 kB / 323.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.2115, allocations: 3.969 MB / 327.2 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.2115, allocations: 22.73 kB / 327.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.212, allocations: 233.9 kB / 327.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.2122, allocations: 187.8 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.01e-05/0.2122, allocations: 28 kB / 327.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.2123, allocations: 44 kB / 327.7 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.2123, allocations: 39 kB / 327.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.2123, allocations: 39.19 kB / 327.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.2136, allocations: 1.547 MB / 329.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2137, allocations: 47.97 kB / 329.4 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.214, allocations: 44 kB / 329.4 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2141, allocations: 141.6 kB / 329.6 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.2142, allocations: 51.98 kB / 329.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003308/0.2145, allocations: 394.5 kB / 330 MB, free: 2.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2145, allocations: 0 / 330 MB, free: 2.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00178/0.2163, allocations: 0.8793 MB / 330.9 MB, free: 1.266 MB / 298.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.0002724/0.2166, allocations: 191.2 kB / 331.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.2175, allocations: 0.9668 MB / 332 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-05/0.2176, allocations: 43.5 kB / 332.1 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.2191, allocations: 0.9725 MB / 333.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.2207, allocations: 2.339 MB / 335.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/0.2399, allocations: 5.832 MB / 341.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.2407, allocations: 0.7372 MB / 342 MB, free: 5.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006498/0.2413, allocations: 220.8 kB / 342.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.2418, allocations: 329.1 kB / 342.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2418, allocations: 4 kB / 342.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of Templates: time 0.02533/0.2671, allocations: 16.39 MB / 358.9 MB, free: 5.051 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9677764577791095]