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.0009742/0.0009742, allocations: 84.39 kB / 22.21 MB, free: 2.285 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.0009854/0.0009854, allocations: 164.2 kB / 25.6 MB, free: 8.406 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.9572/0.9572, allocations: 158.6 MB / 187.5 MB, free: 2.809 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 2.575e-06/2.575e-06, allocations: 3.938 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.329e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007968/0.008002, allocations: 9.099 MB / 260.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.01155, allocations: 2.706 MB / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.01202, allocations: 67.69 kB / 263.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.0157, allocations: 3.908 MB / 267.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.0175, allocations: 0.9396 MB / 268.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.01871, allocations: 0.9112 MB / 269.1 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.02141, allocations: 4.068 MB / 273.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006263/0.02767, allocations: 6.227 MB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.03149, allocations: 3.37 MB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.03414, allocations: 2.476 MB / 285.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.03514, allocations: 0.6055 MB / 285.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.03646, allocations: 0.8082 MB / 286.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007733/0.03723, allocations: 1.247 MB / 287.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.03883, allocations: 1.633 MB / 289.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.04238, allocations: 4.16 MB / 293.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.04239, allocations: 3.938 kB / 293.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04239, allocations: 4 kB / 293.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.698e-05/0.04244, allocations: 0 / 293.7 MB, free: 12.79 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.006385/0.04882, allocations: 5.484 MB / 299.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.04886, allocations: 15.98 kB / 299.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007317/0.05618, allocations: 2.773 MB / 302 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.05799, allocations: 1.796 MB / 303.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.05816, allocations: 341.2 kB / 304.1 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/0.0586, allocations: 451.9 kB / 304.5 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/0.06197, allocations: 2.47 MB / 307 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.087e-05/0.06203, allocations: 3.984 kB / 307 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.0623, allocations: 188 kB / 307.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.06244, allocations: 209.3 kB / 307.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.06451, allocations: 1.56 MB / 309 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.08005, allocations: 16.63 MB / 325.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.08251, allocations: 2.021 MB / 327.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/0.08329, allocations: 452 kB / 328.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.0856, allocations: 1.801 MB / 329.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.08563, allocations: 37.62 kB / 329.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/0.08563, allocations: 0 / 329.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004559/0.08608, allocations: 300.2 kB / 330.2 MB, free: 7.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.08612, allocations: 67.28 kB / 330.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.08757, allocations: 1.902 MB / 332.2 MB, free: 5.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.08759, allocations: 25.7 kB / 332.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.08867, allocations: 2.419 MB / 334.6 MB, free: 3.156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/0.08877, allocations: 155.1 kB / 334.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009699/0.08974, allocations: 0.612 MB / 335.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.08993, allocations: 0.5394 MB / 335.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.0902, allocations: 236.8 kB / 336.1 MB, free: 1.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.09144, allocations: 2.301 MB / 338.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.09344, allocations: 2.735 MB / 341.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.09346, allocations: 20 kB / 341.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.001917/0.09538, allocations: 1.95 MB / 343.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.09541, allocations: 24 kB / 343.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/0.09544, allocations: 52.83 kB / 343.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-05/0.09549, allocations: 68 kB / 343.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/0.09637, allocations: 0.5654 MB / 343.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.851e-05/0.09642, allocations: 99.58 kB / 343.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009566/0.09737, allocations: 345.4 kB / 344.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.09749, allocations: 128 kB / 344.4 MB, free: 7.461 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.0005559/0.09805, allocations: 335.3 kB / 344.7 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.09818, allocations: 151 kB / 344.9 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.09864, allocations: 441.1 kB / 345.3 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/0.09875, allocations: 117.6 kB / 345.4 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.09876, allocations: 3.938 kB / 345.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.09876, allocations: 0 / 345.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.1021, allocations: 3.035 MB / 348.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1021, allocations: 4 kB / 348.5 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1022, allocations: 44.52 kB / 348.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1022, allocations: 8 kB / 348.5 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1022, allocations: 19.98 kB / 348.5 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1022, allocations: 4 kB / 348.5 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1022, allocations: 15.88 kB / 348.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.1028, allocations: 0.6201 MB / 349.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.103, allocations: 163 kB / 349.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.1031, allocations: 15.94 kB / 349.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1033, allocations: 27.95 kB / 349.4 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.1034, allocations: 31.84 kB / 349.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1034, allocations: 12 kB / 349.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006468/0.104, allocations: 0.8309 MB / 350.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.104, allocations: 0 / 350.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001681/0.1057, allocations: 0.9338 MB / 351.2 MB, free: 392 kB / 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.0002241/0.1059, allocations: 155 kB / 351.3 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1204/0.2263, allocations: 1.035 MB / 352.4 MB, free: 86.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.2263, allocations: 1 kB / 352.4 MB, free: 86.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.2266, allocations: 87.05 kB / 352.5 MB, free: 86.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.2283, allocations: 323.5 kB / 352.8 MB, free: 86.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.236, allocations: 5.365 MB / 358.1 MB, free: 84.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/0.2369, allocations: 1.024 MB / 359.2 MB, free: 84.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008006/0.2377, allocations: 252.8 kB / 359.4 MB, free: 84.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.2383, allocations: 349.5 kB / 359.8 MB, free: 84.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2383, allocations: 0 / 359.8 MB, free: 84.23 MB / 330.7 MB Notification: Performance of Templates: time 0.03726/0.2755, allocations: 17.58 MB / 377.3 MB, free: 72.07 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.145612370222807]