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.001183/0.001183, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001516/0.001516, 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 0.9946/0.9946, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.973e-06/1.973e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.146e-05, allocations: 2.312 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01032/0.01035, allocations: 8.875 MB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005324/0.01567, allocations: 2.546 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.01697, allocations: 75.69 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004345/0.02131, allocations: 3.994 MB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.02403, allocations: 0.9161 MB / 284.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.02559, allocations: 0.7897 MB / 285.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.02884, allocations: 3.776 MB / 289 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1118/0.1406, allocations: 6.135 MB / 295.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.1444, allocations: 3.193 MB / 298.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.1475, allocations: 2.307 MB / 300.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.1488, allocations: 0.5851 MB / 301.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1501, allocations: 0.7861 MB / 302 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006687/0.1508, allocations: 1.151 MB / 303.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.1524, allocations: 1.543 MB / 304.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.1557, allocations: 3.956 MB / 308.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1557, allocations: 0 / 308.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1557, allocations: 1.875 kB / 308.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.1558, allocations: 0 / 308.6 MB, free: 10.73 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.007706/0.1635, allocations: 5.285 MB / 313.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1635, allocations: 10.5 kB / 313.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/0.1691, allocations: 1.79 MB / 315.7 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.1715, allocations: 2.165 MB / 317.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.1716, allocations: 320.3 kB / 318.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/0.1721, allocations: 412 kB / 318.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/0.1764, allocations: 2.499 MB / 321.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/0.1765, allocations: 0 / 321.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.1768, allocations: 168 kB / 321.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.1769, allocations: 176.6 kB / 321.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.1803, allocations: 1.53 MB / 323 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/0.2007, allocations: 15.7 MB / 338.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.203, allocations: 1.526 MB / 340.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.2036, allocations: 415 kB / 340.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.641e-05/0.2037, allocations: 32.98 kB / 340.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2037, allocations: 58.31 kB / 340.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.2037, allocations: 3.375 kB / 340.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001121/0.2048, allocations: 0.777 MB / 341.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.2049, allocations: 64.41 kB / 341.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2062, allocations: 1.395 MB / 342.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.2062, allocations: 41.7 kB / 343 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.2071, allocations: 1.947 MB / 344.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.2074, allocations: 397.8 kB / 345.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.2078, allocations: 0.5015 MB / 345.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.208, allocations: 0.5277 MB / 346.3 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.2085, allocations: 284.1 kB / 346.6 MB, free: 7.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.21, allocations: 1.782 MB / 348.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.2122, allocations: 2.259 MB / 350.6 MB, free: 2.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/0.2122, allocations: 8 kB / 350.6 MB, free: 2.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002413/0.2146, allocations: 1.753 MB / 352.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.2147, allocations: 23.94 kB / 352.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/0.2147, allocations: 32.88 kB / 352.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.182e-05/0.2148, allocations: 48 kB / 352.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.2161, allocations: 0.5233 MB / 353 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-05/0.2162, allocations: 75.05 kB / 353.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.217, allocations: 298 kB / 353.4 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.2171, allocations: 112 kB / 353.5 MB, free: 200 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.0009024/0.218, allocations: 306.5 kB / 353.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.2182, allocations: 171.1 kB / 354 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.2193, allocations: 0.9355 MB / 354.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000597/0.2199, allocations: 0.5076 MB / 355.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2199, allocations: 0 / 355.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2199, allocations: 3.984 kB / 355.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00661/0.2265, allocations: 4.826 MB / 360.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.2265, allocations: 20 kB / 360.3 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.227, allocations: 234.3 kB / 360.5 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/0.227, allocations: 28 kB / 360.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.2271, allocations: 44 kB / 360.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-05/0.2271, allocations: 44 kB / 360.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-05/0.2271, allocations: 39.06 kB / 360.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2289, allocations: 1.909 MB / 362.5 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.2292, allocations: 246.8 kB / 362.8 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2293, allocations: 51.97 kB / 362.8 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.2298, allocations: 63.95 kB / 362.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2299, allocations: 154 kB / 363.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.2299, allocations: 59.98 kB / 363.1 MB, free: 5.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006204/0.2305, allocations: 0.6327 MB / 363.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2305, allocations: 0 / 363.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001931/0.2325, allocations: 0.8793 MB / 364.6 MB, free: 4.434 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.000298/0.2328, allocations: 218 kB / 364.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.2342, allocations: 1.121 MB / 366 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.2342, allocations: 0 / 366 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.2346, allocations: 339.7 kB / 366.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.2357, allocations: 356.8 kB / 366.6 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/0.2428, allocations: 5.861 MB / 372.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.2436, allocations: 1.004 MB / 373.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001254/0.2448, allocations: 0.6717 MB / 374.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.245, allocations: 108.5 kB / 374.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.964e-06/0.245, allocations: 4 kB / 374.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Templates: time 0.024/0.269, allocations: 16.81 MB / 391.1 MB, free: 10.07 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.0691907829605043]