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.0009088/0.0009088, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 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.0009742/0.0009742, allocations: 168.5 kB / 24.82 MB, free: 9.262 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.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.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.028e-05, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00639/0.00641, allocations: 8.585 MB / 282 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.009641, allocations: 2.585 MB / 284.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.01016, allocations: 79.62 kB / 284.6 MB, free: 6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.01355, allocations: 3.885 MB / 288.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.01488, allocations: 0.7762 MB / 289.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.01597, allocations: 0.9034 MB / 290.2 MB, free: 420 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1225/0.1384, allocations: 3.761 MB / 294 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006835/0.1453, allocations: 6.146 MB / 300.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.1486, allocations: 3.208 MB / 303.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.1514, allocations: 2.31 MB / 305.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.1526, allocations: 0.5869 MB / 306.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.154, allocations: 0.8137 MB / 307 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005228/0.1545, allocations: 1.144 MB / 308.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.1562, allocations: 1.546 MB / 309.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.159, allocations: 3.972 MB / 313.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.159, allocations: 0 / 313.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.159, allocations: 0.5312 kB / 313.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001326/0.1591, allocations: 0 / 313.7 MB, free: 5.523 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.005847/0.165, allocations: 5.167 MB / 318.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.165, allocations: 8.031 kB / 318.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.1712, allocations: 1.658 MB / 320.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.1741, allocations: 2.029 MB / 322.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.1744, allocations: 316.4 kB / 322.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/0.175, allocations: 410.7 kB / 323.3 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/0.1788, allocations: 2.209 MB / 325.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-05/0.1789, allocations: 7.422 kB / 325.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/0.1792, allocations: 170.9 kB / 325.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.1794, allocations: 180.6 kB / 325.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.1817, allocations: 1.224 MB / 327.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.1956, allocations: 15.52 MB / 342.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.1971, allocations: 1.208 MB / 343.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.1975, allocations: 365.8 kB / 344.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.1976, allocations: 61.5 kB / 344.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1977, allocations: 50.31 kB / 344.2 MB, free: 7.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.346e-06/0.1977, allocations: 4 kB / 344.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.000849/0.1985, allocations: 0.6988 MB / 345 MB, free: 7.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1985, allocations: 62.56 kB / 345 MB, free: 7.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1996, allocations: 1.377 MB / 346.4 MB, free: 5.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.1996, allocations: 41.7 kB / 346.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008592/0.2005, allocations: 1.955 MB / 348.4 MB, free: 4.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.2008, allocations: 391 kB / 348.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.2012, allocations: 0.5215 MB / 349.3 MB, free: 3.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2013, allocations: 0.531 MB / 349.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.2017, allocations: 220.1 kB / 350 MB, free: 2.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.2031, allocations: 1.726 MB / 351.8 MB, free: 120 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.2051, allocations: 2.169 MB / 353.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.2051, allocations: 16 kB / 353.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002393/0.2075, allocations: 1.614 MB / 355.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.2075, allocations: 23.94 kB / 355.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.2075, allocations: 35.66 kB / 355.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.485e-05/0.2076, allocations: 48 kB / 355.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.209, allocations: 0.4931 MB / 356.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-05/0.209, allocations: 70.69 kB / 356.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.2102, allocations: 250.4 kB / 356.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.2103, allocations: 99.98 kB / 356.6 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.0006668/0.211, allocations: 309 kB / 356.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.2112, allocations: 163.1 kB / 357 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.2126, allocations: 0.8781 MB / 357.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000727/0.2134, allocations: 446.5 kB / 358.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2134, allocations: 4 kB / 358.3 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2134, allocations: 11.91 kB / 358.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/0.222, allocations: 4.924 MB / 363.3 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/0.222, allocations: 20 kB / 363.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.2226, allocations: 213.7 kB / 363.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.542e-05/0.2226, allocations: 28 kB / 363.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.2227, allocations: 47.98 kB / 363.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.749e-05/0.2227, allocations: 42.86 kB / 363.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/0.2227, allocations: 31.12 kB / 363.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.2246, allocations: 1.831 MB / 365.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.225, allocations: 221.5 kB / 365.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.2251, allocations: 55.91 kB / 365.8 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.2257, allocations: 40 kB / 365.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.226, allocations: 148.7 kB / 365.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.2261, allocations: 51.98 kB / 366 MB, free: 1.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006847/0.2268, allocations: 0.599 MB / 366.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2268, allocations: 0 / 366.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002755/0.2296, allocations: 0.8715 MB / 367.5 MB, free: 112 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.0003923/0.23, allocations: 204.7 kB / 367.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2311, allocations: 1.065 MB / 368.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.2311, allocations: 4 kB / 368.7 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.2314, allocations: 334.7 kB / 369.1 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.001128/0.2325, allocations: 360.4 kB / 369.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.2384, allocations: 5.795 MB / 375.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.2392, allocations: 1.004 MB / 376.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.2396, allocations: 224.7 kB / 376.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.2401, allocations: 362 kB / 376.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2401, allocations: 7.375 kB / 376.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of Templates: time 0.02434/0.2645, allocations: 17.2 MB / 394 MB, free: 5.781 MB / 346.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0341716688126326]