Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001121/0.001121, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002669, allocations: 445.7 kB / 10.37 MB, free: 328 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.001142/0.001142, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002682, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9794/0.9794, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1475/1.127, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.459e-05, allocations: 6.25 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01191/0.01194, allocations: 9.197 MB / 231 MB, free: 6.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.0184, allocations: 2.88 MB / 233.9 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.01973, allocations: 67.69 kB / 234 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004235/0.02397, allocations: 4.013 MB / 238 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.02647, allocations: 0.9279 MB / 238.9 MB, free: 15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.02779, allocations: 0.925 MB / 239.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.03124, allocations: 4.107 MB / 243.9 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006769/0.03801, allocations: 6.283 MB / 250.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.04229, allocations: 3.436 MB / 253.7 MB, free: 116 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.04512, allocations: 2.488 MB / 256.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.04619, allocations: 0.6093 MB / 256.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.0476, allocations: 0.8277 MB / 257.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.04846, allocations: 0.9586 MB / 258.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.05012, allocations: 1.357 MB / 259.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.05396, allocations: 3.946 MB / 263.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.05397, allocations: 3.938 kB / 263.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.05397, allocations: 0 / 263.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001175/0.05409, allocations: 0 / 263.9 MB, free: 5.902 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.00753/0.06162, allocations: 5.947 MB / 269.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.06166, allocations: 16.02 kB / 269.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007763/0.06942, allocations: 2.95 MB / 272.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.07174, allocations: 1.021 MB / 273.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.07194, allocations: 345.2 kB / 274.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006209/0.07256, allocations: 451.8 kB / 274.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.07724, allocations: 2.998 MB / 277.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.537e-05/0.07731, allocations: 4 kB / 277.6 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.07762, allocations: 184 kB / 277.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.07777, allocations: 217.3 kB / 278 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.08016, allocations: 1.342 MB / 279.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/0.2224, allocations: 12.92 MB / 292.2 MB, free: 29.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.2257, allocations: 1.83 MB / 294.1 MB, free: 29.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.2263, allocations: 415.7 kB / 294.5 MB, free: 29.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/0.2295, allocations: 1.522 MB / 296 MB, free: 28.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2295, allocations: 35.42 kB / 296 MB, free: 28.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.325e-06/0.2295, allocations: 1.875 kB / 296 MB, free: 28.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004433/0.2299, allocations: 248.6 kB / 296.3 MB, free: 28.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.2299, allocations: 55.53 kB / 296.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.2313, allocations: 1.381 MB / 297.7 MB, free: 28.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2313, allocations: 30.83 kB / 297.7 MB, free: 28.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007538/0.2321, allocations: 2.193 MB / 299.9 MB, free: 26.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.2322, allocations: 149.8 kB / 300.1 MB, free: 26.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.2327, allocations: 0.5016 MB / 300.6 MB, free: 26.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.2327, allocations: 349 kB / 300.9 MB, free: 26.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.2331, allocations: 315.1 kB / 301.2 MB, free: 26.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.2339, allocations: 1.592 MB / 302.8 MB, free: 24.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.2353, allocations: 2.072 MB / 304.9 MB, free: 22.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.466e-05/0.2353, allocations: 13.91 kB / 304.9 MB, free: 22.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.001876/0.2372, allocations: 1.621 MB / 306.5 MB, free: 22.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.2372, allocations: 27.38 kB / 306.5 MB, free: 22.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/0.2373, allocations: 51.34 kB / 306.6 MB, free: 22.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.008e-05/0.2373, allocations: 66.05 kB / 306.7 MB, free: 22.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.2386, allocations: 0.6281 MB / 307.3 MB, free: 22.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.486e-05/0.2387, allocations: 89.94 kB / 307.4 MB, free: 22.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.24, allocations: 350 kB / 307.7 MB, free: 22.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.2402, allocations: 119.6 kB / 307.8 MB, free: 22.47 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.0006168/0.2408, allocations: 306.3 kB / 308.1 MB, free: 22.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.241, allocations: 75.94 kB / 308.2 MB, free: 22.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.2414, allocations: 378.2 kB / 308.6 MB, free: 22.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/0.2415, allocations: 92.52 kB / 308.7 MB, free: 22.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.2415, allocations: 0 / 308.7 MB, free: 22.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2415, allocations: 3.047 kB / 308.7 MB, free: 22.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.2438, allocations: 1.807 MB / 310.5 MB, free: 21.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2438, allocations: 3.562 kB / 310.5 MB, free: 21.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.244, allocations: 58.25 kB / 310.5 MB, free: 21.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.2441, allocations: 135.5 kB / 310.7 MB, free: 21.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2441, allocations: 6.719 kB / 310.7 MB, free: 21.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2442, allocations: 11.08 kB / 310.7 MB, free: 21.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.2442, allocations: 6.469 kB / 310.7 MB, free: 21.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2442, allocations: 8.438 kB / 310.7 MB, free: 21.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.2445, allocations: 0.5052 MB / 311.2 MB, free: 21.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.2446, allocations: 16.95 kB / 311.2 MB, free: 21.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.2448, allocations: 13.34 kB / 311.2 MB, free: 21.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2449, allocations: 37.31 kB / 311.3 MB, free: 21.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.2449, allocations: 16.48 kB / 311.3 MB, free: 21.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004379/0.2453, allocations: 0.5846 MB / 311.9 MB, free: 21.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2453, allocations: 0 / 311.9 MB, free: 21.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001444/0.2468, allocations: 0.942 MB / 312.8 MB, free: 20.89 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.0002146/0.247, allocations: 140.2 kB / 313 MB, free: 20.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.2503, allocations: 0.9053 MB / 313.9 MB, free: 20.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.972e-05/0.2504, allocations: 49.78 kB / 313.9 MB, free: 20.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2505, allocations: 79.41 kB / 314 MB, free: 20.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.2517, allocations: 426.1 kB / 314.4 MB, free: 20.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.2755, allocations: 5.999 MB / 320.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.2766, allocations: 0.7551 MB / 321.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008309/0.2774, allocations: 249.7 kB / 321.4 MB, free: 16.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.2778, allocations: 319 kB / 321.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of SimCode: time 2.365e-06/0.2778, allocations: 0 / 321.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of Templates: time 0.02842/0.3063, allocations: 18.42 MB / 340.1 MB, free: 15.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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.1731883473694324]