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.0009648/0.0009648, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009771/0.0009771, allocations: 169.5 kB / 25.33 MB, free: 9.016 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 0.8462/0.8462, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.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.924e-06/1.924e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.212e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01094/0.01096, allocations: 9.411 MB / 260.5 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.0163, allocations: 2.718 MB / 263.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.01702, allocations: 67.69 kB / 263.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005839/0.02285, allocations: 4.021 MB / 267.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.02507, allocations: 0.9513 MB / 268.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.02639, allocations: 0.9151 MB / 269.1 MB, free: 5.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003709/0.0301, allocations: 4.076 MB / 273.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006873/0.03697, allocations: 6.227 MB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.04011, allocations: 3.366 MB / 282.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.04264, allocations: 2.468 MB / 285.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009806/0.04362, allocations: 0.6016 MB / 285.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.04466, allocations: 0.8082 MB / 286.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006405/0.0453, allocations: 1.251 MB / 287.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.04684, allocations: 1.641 MB / 289.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.05041, allocations: 4.156 MB / 293.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.05042, allocations: 0 / 293.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.05042, allocations: 0 / 293.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.05054, allocations: 0 / 293.7 MB, free: 12.61 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.007651/0.05819, allocations: 5.609 MB / 299.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.05823, allocations: 15.98 kB / 299.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/0.06628, allocations: 3.287 MB / 302.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.06855, allocations: 1.968 MB / 304.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.06872, allocations: 337.2 kB / 304.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/0.06916, allocations: 443.9 kB / 305.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004621/0.07378, allocations: 2.822 MB / 308.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/0.07385, allocations: 0 / 308.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.07414, allocations: 180 kB / 308.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.07429, allocations: 213.3 kB / 308.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.07772, allocations: 1.967 MB / 310.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.09373, allocations: 16.87 MB / 327.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.09699, allocations: 2.563 MB / 330 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.09765, allocations: 0.5001 MB / 330.5 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/0.1002, allocations: 1.884 MB / 332.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1002, allocations: 41.62 kB / 332.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.1002, allocations: 3.938 kB / 332.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005404/0.1008, allocations: 316.2 kB / 332.7 MB, free: 4.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1008, allocations: 59.34 kB / 332.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.1029, allocations: 1.927 MB / 334.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.103, allocations: 29.7 kB / 334.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.1041, allocations: 2.412 MB / 337.1 MB, free: 492 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1042, allocations: 147.1 kB / 337.3 MB, free: 344 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005866/0.1048, allocations: 0.6161 MB / 337.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.105, allocations: 0.5277 MB / 338.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.1055, allocations: 304.8 kB / 338.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.1073, allocations: 2.364 MB / 341.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.1094, allocations: 2.801 MB / 343.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-05/0.1094, allocations: 16 kB / 343.9 MB, free: 7.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.002374/0.1118, allocations: 2.115 MB / 346 MB, free: 5.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.1118, allocations: 32.06 kB / 346.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.1119, allocations: 48 kB / 346.1 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.038e-05/0.1119, allocations: 64 kB / 346.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.1132, allocations: 0.5927 MB / 346.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-05/0.1133, allocations: 99.58 kB / 346.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.1144, allocations: 413.2 kB / 347.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.1146, allocations: 152 kB / 347.4 MB, free: 4.328 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.0007294/0.1153, allocations: 343.2 kB / 347.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.1154, allocations: 147.1 kB / 347.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.1159, allocations: 437.2 kB / 348.3 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001541/0.1161, allocations: 129.5 kB / 348.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1161, allocations: 7.938 kB / 348.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1161, allocations: 0 / 348.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.1196, allocations: 3.057 MB / 351.5 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1196, allocations: 4 kB / 351.5 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1243/0.2439, allocations: 53.67 kB / 351.6 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.2439, allocations: 7.812 kB / 351.6 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.244, allocations: 14.72 kB / 351.6 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.244, allocations: 6.781 kB / 351.6 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.244, allocations: 10.19 kB / 351.6 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2452, allocations: 0.6494 MB / 352.2 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.2456, allocations: 170.9 kB / 352.4 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2457, allocations: 18.52 kB / 352.4 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.2461, allocations: 44.2 kB / 352.5 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.2462, allocations: 30.5 kB / 352.5 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.2462, allocations: 16.48 kB / 352.5 MB, free: 77.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.2474, allocations: 0.8999 MB / 353.4 MB, free: 77.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2474, allocations: 1.156 kB / 353.4 MB, free: 77.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002013/0.2494, allocations: 0.9444 MB / 354.4 MB, free: 77.18 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.0002218/0.2496, allocations: 142.4 kB / 354.5 MB, free: 77.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.2509, allocations: 1.102 MB / 355.6 MB, free: 77.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2509, allocations: 3.469 kB / 355.6 MB, free: 77.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.251, allocations: 90.59 kB / 355.7 MB, free: 77.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008463/0.2519, allocations: 326.1 kB / 356 MB, free: 77.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.2577, allocations: 5.368 MB / 361.4 MB, free: 74.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.2583, allocations: 1.025 MB / 362.4 MB, free: 74.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000846/0.2591, allocations: 0.6878 MB / 363.1 MB, free: 74.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2593, allocations: 104.3 kB / 363.2 MB, free: 74.5 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2593, allocations: 0 / 363.2 MB, free: 74.5 MB / 330.7 MB Notification: Performance of Templates: time 0.02145/0.2807, allocations: 17.32 MB / 380.5 MB, free: 64.93 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","",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.0934162149205804]