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.002298/0.002298, allocations: 95.55 kB / 21.73 MB, free: 2.684 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.002932/0.002932, allocations: 165.1 kB / 25.03 MB, free: 8.934 MB / 18.57 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 1.414/1.414, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.473e-06/1.473e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.658e-05, allocations: 6.25 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.0139/0.01393, allocations: 9.321 MB / 259.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007084/0.02101, allocations: 2.722 MB / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.02254, allocations: 67.69 kB / 262.5 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.0328, allocations: 4.002 MB / 266.5 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.03706, allocations: 0.9435 MB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.03964, allocations: 0.9268 MB / 268.3 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005932/0.04557, allocations: 4.072 MB / 272.4 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.05567, allocations: 6.227 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.06145, allocations: 3.37 MB / 282 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.06588, allocations: 2.445 MB / 284.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001277/0.06715, allocations: 0.6055 MB / 285.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.06916, allocations: 0.8082 MB / 285.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.07053, allocations: 1.251 MB / 287.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.07344, allocations: 1.63 MB / 288.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.08406, allocations: 8.29 MB / 297 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.08406, allocations: 3.938 kB / 297 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08406, allocations: 0 / 297 MB, free: 8.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001831/0.08425, allocations: 0 / 297 MB, free: 8.91 MB / 282.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.01508/0.09932, allocations: 5.949 MB / 303 MB, free: 2.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.09937, allocations: 15.98 kB / 303 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.1158, allocations: 3.295 MB / 306.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00571/0.1215, allocations: 1.949 MB / 308.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.1219, allocations: 341.2 kB / 308.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.123, allocations: 451.9 kB / 309 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.1348, allocations: 5.558 MB / 314.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.1349, allocations: 11.94 kB / 314.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.1354, allocations: 180 kB / 314.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000261/0.1356, allocations: 213.3 kB / 315 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.1464, allocations: 5.185 MB / 320.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.1913, allocations: 26.55 MB / 346.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.1982, allocations: 2.536 MB / 349.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.1997, allocations: 0.7925 MB / 350 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006262/0.206, allocations: 2.32 MB / 352.4 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.2061, allocations: 37.62 kB / 352.4 MB, free: 244 kB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.2061, allocations: 4 kB / 352.4 MB, free: 240 kB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.1171/0.3232, allocations: 0.5295 MB / 352.9 MB, free: 93.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3232, allocations: 63.09 kB / 353 MB, free: 93.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.3266, allocations: 2.778 MB / 355.8 MB, free: 93.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3266, allocations: 29.45 kB / 355.8 MB, free: 93.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000957/0.3275, allocations: 2.507 MB / 358.3 MB, free: 92.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.3276, allocations: 153.4 kB / 358.5 MB, free: 92.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/0.3284, allocations: 0.6874 MB / 359.2 MB, free: 92.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3285, allocations: 0.559 MB / 359.7 MB, free: 91.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000858/0.3293, allocations: 0.7346 MB / 360.4 MB, free: 91.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.3309, allocations: 2.866 MB / 363.3 MB, free: 89.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.3332, allocations: 3.607 MB / 366.9 MB, free: 86.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/0.3332, allocations: 14.81 kB / 366.9 MB, free: 86.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003516/0.3367, allocations: 2.994 MB / 369.9 MB, free: 85.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.3368, allocations: 26.06 kB / 370 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-05/0.3368, allocations: 48.56 kB / 370 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.636e-05/0.3369, allocations: 64.34 kB / 370.1 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.3385, allocations: 0.593 MB / 370.7 MB, free: 85.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-05/0.3385, allocations: 99.08 kB / 370.8 MB, free: 85.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.3402, allocations: 408.9 kB / 371.2 MB, free: 84.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.3404, allocations: 149 kB / 371.3 MB, free: 84.9 MB / 330.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.001558/0.3419, allocations: 1.494 MB / 372.8 MB, free: 84.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.3421, allocations: 157.8 kB / 372.9 MB, free: 84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.3429, allocations: 0.5675 MB / 373.5 MB, free: 83.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002946/0.3432, allocations: 258.7 kB / 373.8 MB, free: 83.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3432, allocations: 1.656 kB / 373.8 MB, free: 83.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3432, allocations: 2.766 kB / 373.8 MB, free: 83.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.3484, allocations: 4.287 MB / 378.1 MB, free: 80.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3484, allocations: 4 kB / 378.1 MB, free: 80.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3486, allocations: 66.89 kB / 378.1 MB, free: 80.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.3486, allocations: 4 kB / 378.1 MB, free: 80.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.3486, allocations: 12 kB / 378.1 MB, free: 80.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3486, allocations: 11.94 kB / 378.2 MB, free: 80.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3486, allocations: 4.625 kB / 378.2 MB, free: 80.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.3493, allocations: 0.8842 MB / 379 MB, free: 79.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.3497, allocations: 175 kB / 379.2 MB, free: 79.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.3499, allocations: 11.94 kB / 379.2 MB, free: 79.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.3504, allocations: 44.56 kB / 379.3 MB, free: 79.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.3505, allocations: 31.84 kB / 379.3 MB, free: 79.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3505, allocations: 19.98 kB / 379.3 MB, free: 79.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001405/0.3519, allocations: 1.471 MB / 380.8 MB, free: 77.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3519, allocations: 0 / 380.8 MB, free: 77.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002323/0.3542, allocations: 0.9377 MB / 381.7 MB, free: 76.75 MB / 330.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.0002078/0.3544, allocations: 147.4 kB / 381.9 MB, free: 76.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3563, allocations: 1.686 MB / 383.6 MB, free: 74.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3563, allocations: 0 / 383.6 MB, free: 74.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3565, allocations: 169.8 kB / 383.7 MB, free: 74.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.3584, allocations: 318.9 kB / 384 MB, free: 74.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.3686, allocations: 5.751 MB / 389.8 MB, free: 68.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.3705, allocations: 2.12 MB / 391.9 MB, free: 66.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001438/0.3719, allocations: 0.6742 MB / 392.6 MB, free: 65.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.3722, allocations: 108.2 kB / 392.7 MB, free: 65.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3722, allocations: 4 kB / 392.7 MB, free: 65.67 MB / 330.7 MB Notification: Performance of Templates: time 0.02601/0.3982, allocations: 16.2 MB / 408.9 MB, free: 49.52 MB / 330.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.197226234944537]