Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001711/0.001711, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001443/0.001443, allocations: 215.8 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002828/0.002828, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2937, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01153/0.3052, allocations: 8.007 MB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.3112, allocations: 2.545 MB / 442.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.3128, allocations: 79.62 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009887/0.3227, allocations: 3.474 MB / 445.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.3263, allocations: 0.7417 MB / 446.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.3292, allocations: 0.8989 MB / 447.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.3348, allocations: 3.656 MB / 451 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.3458, allocations: 6.124 MB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.349, allocations: 2.139 MB / 459.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.353, allocations: 2.297 MB / 461.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009324/0.3539, allocations: 0.5859 MB / 462.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.3557, allocations: 0.8005 MB / 462.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3567, allocations: 1.111 MB / 464 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.359, allocations: 1.778 MB / 465.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008862/0.3678, allocations: 7.963 MB / 473.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3678, allocations: 0 / 473.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3678, allocations: 0 / 473.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002019/0.368, allocations: 0 / 473.8 MB, free: 12.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01293/0.381, allocations: 4.859 MB / 478.6 MB, free: 7.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.381, allocations: 8.031 kB / 478.6 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008277/0.3893, allocations: 1.286 MB / 479.9 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005981/0.3953, allocations: 2.313 MB / 482.2 MB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.3956, allocations: 316.4 kB / 482.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.397, allocations: 415.9 kB / 483 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.4108, allocations: 5.506 MB / 488.5 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.4109, allocations: 4 kB / 488.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008309/0.4118, allocations: 164 kB / 488.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.412, allocations: 180.6 kB / 488.8 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.4221, allocations: 4.8 MB / 493.6 MB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.4554, allocations: 16.32 MB / 0.498 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.4596, allocations: 1.745 MB / 0.4997 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.461, allocations: 0.7145 MB / 0.5004 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.4611, allocations: 40.95 kB / 0.5004 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.4612, allocations: 47.56 kB / 0.5005 GB, free: 4.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.787e-06/0.4612, allocations: 3.938 kB / 0.5005 GB, free: 4.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002748/0.4639, allocations: 1.565 MB / 0.502 GB, free: 3.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.464, allocations: 60.41 kB / 0.502 GB, free: 3.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.4663, allocations: 1.403 MB / 0.5034 GB, free: 1.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.4664, allocations: 41.7 kB / 0.5035 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4678, allocations: 1.835 MB / 0.5052 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.4681, allocations: 381 kB / 0.5056 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007088/0.4688, allocations: 447.7 kB / 0.506 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.469, allocations: 357.7 kB / 0.5064 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4704, allocations: 0.8279 MB / 0.5072 GB, free: 13.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.4726, allocations: 1.823 MB / 0.509 GB, free: 11.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/0.4762, allocations: 2.798 MB / 0.5117 GB, free: 8.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/0.4763, allocations: 8 kB / 0.5117 GB, free: 8.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004561/0.4808, allocations: 2.746 MB / 0.5144 GB, free: 5.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.4809, allocations: 23.16 kB / 0.5144 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.682e-05/0.4809, allocations: 32 kB / 0.5144 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-05/0.481, allocations: 52 kB / 0.5145 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.4827, allocations: 0.5225 MB / 0.515 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.507e-05/0.4828, allocations: 71.72 kB / 0.5151 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4842, allocations: 290 kB / 0.5153 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.4844, allocations: 116 kB / 0.5155 GB, free: 4.504 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002379/0.4868, allocations: 1.492 MB / 0.5169 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.4871, allocations: 127.2 kB / 0.517 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4895, allocations: 1.465 MB / 0.5185 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001565/0.4911, allocations: 1.045 MB / 0.5195 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4911, allocations: 0 / 0.5195 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4911, allocations: 3.984 kB / 0.5195 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/0.5079, allocations: 10.18 MB / 0.5294 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-05/0.508, allocations: 20 kB / 0.5295 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.5089, allocations: 231.5 kB / 0.5297 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/0.5089, allocations: 31.98 kB / 0.5297 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.509, allocations: 51.94 kB / 0.5298 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.771e-05/0.5091, allocations: 43.8 kB / 0.5298 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.346e-05/0.5091, allocations: 31.88 kB / 0.5298 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003859/0.513, allocations: 2.68 MB / 0.5324 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.5138, allocations: 266.8 kB / 0.5327 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.5141, allocations: 47.98 kB / 0.5327 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.515, allocations: 67.94 kB / 0.5328 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.5152, allocations: 151.2 kB / 0.533 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.5153, allocations: 59.98 kB / 0.533 GB, free: 1.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.517, allocations: 0.9021 MB / 0.5339 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.517, allocations: 0 / 0.5339 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002996/0.52, allocations: 0.8832 MB / 0.5348 GB, free: 40 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.2182/0.7381, allocations: 201.9 kB / 0.5349 GB, free: 96.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004903/0.743, allocations: 1.836 MB / 0.5367 GB, free: 96.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.027e-05/0.7431, allocations: 3.094 kB / 0.5367 GB, free: 96.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.7444, allocations: 0.6163 MB / 0.5373 GB, free: 96.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.7477, allocations: 332.5 kB / 0.5377 GB, free: 96.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.7639, allocations: 6.451 MB / 0.544 GB, free: 93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004179/0.7681, allocations: 2.261 MB / 0.5462 GB, free: 92.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002727/0.7708, allocations: 0.7556 MB / 0.5469 GB, free: 92.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.7713, allocations: 123.5 kB / 0.547 GB, free: 92.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7713, allocations: 0 / 0.547 GB, free: 92.15 MB / 446.1 MB Notification: Performance of Templates: time 0.03507/0.8064, allocations: 19.41 MB / 0.566 GB, free: 77.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.433838663622737]