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.001235/0.001235, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002457/0.003692, allocations: 453.8 kB / 10.46 MB, free: 236 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.001259/0.001259, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003687/0.004946, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.948/0.948, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1718/1.12, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.663e-06/1.663e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.415e-05, allocations: 6.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007912/0.007937, allocations: 9.201 MB / 231.2 MB, free: 6.812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.0127, allocations: 2.877 MB / 234.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.0134, allocations: 67.69 kB / 234.1 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.01718, allocations: 4.013 MB / 238.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.01907, allocations: 0.9279 MB / 239.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.02024, allocations: 0.9236 MB / 240 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002981/0.02323, allocations: 4.107 MB / 244.1 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0069/0.03013, allocations: 6.279 MB / 250.4 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.03393, allocations: 3.444 MB / 253.8 MB, free: 4 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.0371, allocations: 2.499 MB / 256.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008015/0.03791, allocations: 0.6016 MB / 256.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.03937, allocations: 0.8199 MB / 257.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000926/0.04029, allocations: 0.9664 MB / 258.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.04177, allocations: 1.357 MB / 260.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003807/0.04558, allocations: 3.934 MB / 264 MB, free: 5.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.04559, allocations: 4 kB / 264 MB, free: 5.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04559, allocations: 0 / 264 MB, free: 5.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.428e-05/0.04563, allocations: 0 / 264 MB, free: 5.801 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.008471/0.0541, allocations: 5.943 MB / 269.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.05414, allocations: 8.031 kB / 270 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.06568, allocations: 2.954 MB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.06792, allocations: 1.028 MB / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.06814, allocations: 337.2 kB / 274.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005743/0.06872, allocations: 443.9 kB / 274.7 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/0.07322, allocations: 3.01 MB / 277.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/0.0733, allocations: 0 / 277.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003857/0.07368, allocations: 184 kB / 277.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.07388, allocations: 209.3 kB / 278.1 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.07644, allocations: 1.338 MB / 279.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1407/0.2171, allocations: 12.92 MB / 292.4 MB, free: 28.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.2198, allocations: 1.822 MB / 294.2 MB, free: 28.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.2202, allocations: 426.2 kB / 294.6 MB, free: 28.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002419/0.2227, allocations: 1.516 MB / 296.1 MB, free: 27.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2227, allocations: 34.58 kB / 296.1 MB, free: 27.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.2227, allocations: 0 / 296.1 MB, free: 27.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003734/0.2231, allocations: 253.2 kB / 296.4 MB, free: 27.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/0.2231, allocations: 56.09 kB / 296.4 MB, free: 27.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009696/0.224, allocations: 1.379 MB / 297.8 MB, free: 27.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2241, allocations: 31.11 kB / 297.9 MB, free: 27.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00072/0.2248, allocations: 2.196 MB / 300.1 MB, free: 26.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.2249, allocations: 153.8 kB / 300.2 MB, free: 26.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.2252, allocations: 0.5012 MB / 300.7 MB, free: 25.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.2253, allocations: 347.3 kB / 301 MB, free: 25.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.2255, allocations: 319.4 kB / 301.4 MB, free: 25.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.2261, allocations: 1.586 MB / 302.9 MB, free: 23.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2273, allocations: 2.311 MB / 305.3 MB, free: 22.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.2273, allocations: 13.81 kB / 305.3 MB, free: 22.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.001466/0.2288, allocations: 1.621 MB / 306.9 MB, free: 22.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2288, allocations: 27.41 kB / 306.9 MB, free: 22.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.2288, allocations: 50.88 kB / 307 MB, free: 22.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/0.2289, allocations: 62.47 kB / 307 MB, free: 22.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.2298, allocations: 0.6301 MB / 307.7 MB, free: 22.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/0.2298, allocations: 94.73 kB / 307.7 MB, free: 22.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/0.2307, allocations: 353.4 kB / 308.1 MB, free: 21.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2308, allocations: 125.9 kB / 308.2 MB, free: 21.88 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.0004129/0.2312, allocations: 291.2 kB / 308.5 MB, free: 21.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.2313, allocations: 79.83 kB / 308.6 MB, free: 21.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.2316, allocations: 375.5 kB / 308.9 MB, free: 21.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-05/0.2317, allocations: 89.91 kB / 309 MB, free: 21.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2317, allocations: 0 / 309 MB, free: 21.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2317, allocations: 7.5 kB / 309 MB, free: 21.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2334, allocations: 1.813 MB / 310.9 MB, free: 21.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2334, allocations: 5.844 kB / 310.9 MB, free: 21.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2335, allocations: 53.02 kB / 310.9 MB, free: 21.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2337, allocations: 127.1 kB / 311 MB, free: 21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.2337, allocations: 5.969 kB / 311 MB, free: 21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2337, allocations: 10.06 kB / 311.1 MB, free: 21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.2337, allocations: 16.38 kB / 311.1 MB, free: 21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2337, allocations: 15.41 kB / 311.1 MB, free: 20.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.2341, allocations: 0.505 MB / 311.6 MB, free: 20.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.2342, allocations: 19.2 kB / 311.6 MB, free: 20.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2345, allocations: 11.77 kB / 311.6 MB, free: 20.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.2345, allocations: 39.75 kB / 311.7 MB, free: 20.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2345, allocations: 10.31 kB / 311.7 MB, free: 20.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005277/0.2351, allocations: 0.595 MB / 312.3 MB, free: 20.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2351, allocations: 0 / 312.3 MB, free: 20.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001407/0.2365, allocations: 0.936 MB / 313.2 MB, free: 20.29 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.0002056/0.2367, allocations: 136.3 kB / 313.3 MB, free: 20.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.2374, allocations: 0.9475 MB / 314.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.355e-05/0.2375, allocations: 52.91 kB / 314.3 MB, free: 20.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.238, allocations: 0.6395 MB / 315 MB, free: 20 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.2391, allocations: 2.381 MB / 317.4 MB, free: 17.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.258, allocations: 5.647 MB / 323 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.2586, allocations: 0.7506 MB / 323.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006106/0.2592, allocations: 243.9 kB / 324 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.2596, allocations: 313 kB / 324.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2596, allocations: 0 / 324.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of Templates: time 0.02248/0.282, allocations: 16.18 MB / 340.5 MB, free: 14.34 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.213696359656751]