Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1815/0.1815, allocations: 38.55 MB / 346.3 MB, free: 2.105 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4338, allocations: 61.29 MB / 0.533 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006101/0.4399, allocations: 4.732 MB / 0.5377 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.4423, allocations: 1.491 MB / 0.5391 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.4426, allocations: 17.09 kB / 0.5391 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.4437, allocations: 397.1 kB / 0.5395 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.4442, allocations: 230.7 kB / 0.5397 GB, free: 492 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.445, allocations: 262 kB / 0.54 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.4457, allocations: 0.5614 MB / 0.5405 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.4461, allocations: 212.4 kB / 0.5407 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.4465, allocations: 266.1 kB / 0.541 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.4471, allocations: 342.9 kB / 0.5413 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.4472, allocations: 34.69 kB / 0.5413 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.4475, allocations: 157.2 kB / 0.5415 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.4478, allocations: 232.8 kB / 0.5417 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.4481, allocations: 251.8 kB / 0.542 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000878/0.449, allocations: 0.5972 MB / 0.5425 GB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.449, allocations: 0 / 0.5425 GB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.449, allocations: 0 / 0.5425 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.449, allocations: 0 / 0.5425 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001536/0.4505, allocations: 0.7089 MB / 0.5432 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.4506, allocations: 9.031 kB / 0.5432 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.4512, allocations: 99.75 kB / 0.5433 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.4519, allocations: 349.9 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.4519, allocations: 29.84 kB / 0.5437 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.4521, allocations: 57.44 kB / 0.5438 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4531, allocations: 0.6446 MB / 0.5444 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4531, allocations: 6.656 kB / 0.5444 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.4532, allocations: 17.97 kB / 0.5444 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.4533, allocations: 35.08 kB / 0.5444 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.4541, allocations: 484.2 kB / 0.5449 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.4581, allocations: 2.956 MB / 0.5478 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.4584, allocations: 173.4 kB / 0.548 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4586, allocations: 101.7 kB / 0.5481 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4586, allocations: 2.656 kB / 0.5481 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4586, allocations: 32.84 kB / 0.5481 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.285e-06/0.4586, allocations: 0 / 0.5481 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001518/0.4602, allocations: 0.78 MB / 0.5488 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.4602, allocations: 84.08 kB / 0.5489 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.4606, allocations: 348.9 kB / 0.5493 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4607, allocations: 30.8 kB / 0.5493 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.4609, allocations: 306.1 kB / 0.5496 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.461, allocations: 78.72 kB / 0.5497 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.4612, allocations: 90.11 kB / 0.5497 GB, free: 8.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.4614, allocations: 347.5 kB / 0.5501 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.4616, allocations: 124.9 kB / 0.5502 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.4621, allocations: 330 kB / 0.5505 GB, free: 8.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.4628, allocations: 0.4947 MB / 0.551 GB, free: 7.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4628, allocations: 2.219 kB / 0.551 GB, free: 7.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001182/0.464, allocations: 0.561 MB / 0.5515 GB, free: 7.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.464, allocations: 11.88 kB / 0.5516 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005861/0.4646, allocations: 277.7 kB / 0.5518 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.465, allocations: 81.22 kB / 0.5519 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.4653, allocations: 95.55 kB / 0.552 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.4672, allocations: 1.631 MB / 0.5536 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.4675, allocations: 22.48 kB / 0.5536 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.4676, allocations: 22.12 kB / 0.5536 GB, free: 5.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003185/0.4679, allocations: 219.4 kB / 0.5538 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.468, allocations: 30.41 kB / 0.5539 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.4685, allocations: 294.5 kB / 0.5541 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4685, allocations: 2.094 kB / 0.5541 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4685, allocations: 5.078 kB / 0.5541 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4685, allocations: 5.25 kB / 0.5542 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.4698, allocations: 0.7586 MB / 0.5549 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4698, allocations: 0 / 0.5549 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.4701, allocations: 58.66 kB / 0.5549 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4701, allocations: 2.156 kB / 0.5549 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.4702, allocations: 10.81 kB / 0.555 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4702, allocations: 2.344 kB / 0.555 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4702, allocations: 5.156 kB / 0.555 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.4708, allocations: 479.9 kB / 0.5554 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.4709, allocations: 27.77 kB / 0.5555 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4709, allocations: 16.03 kB / 0.5555 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4711, allocations: 11.94 kB / 0.5555 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4712, allocations: 20.2 kB / 0.5555 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4712, allocations: 4 kB / 0.5555 GB, free: 4.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.4714, allocations: 235.2 kB / 0.5557 GB, free: 4.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4714, allocations: 0 / 0.5557 GB, free: 4.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.4719, allocations: 95.98 kB / 0.5558 GB, free: 4.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001299/0.4721, allocations: 111.2 kB / 0.5559 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.4729, allocations: 423 kB / 0.5563 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4729, allocations: 0.5 kB / 0.5563 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.4731, allocations: 119.8 kB / 0.5564 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.4736, allocations: 73.47 kB / 0.5565 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.4754, allocations: 0.997 MB / 0.5575 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.4759, allocations: 0.8662 MB / 0.5583 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.4762, allocations: 111.2 kB / 0.5584 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.4763, allocations: 31.44 kB / 0.5585 GB, free: 1.211 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4763, allocations: 0 / 0.5585 GB, free: 1.211 MB / 398.1 MB Notification: Performance of Templates: time 0.009347/0.4857, allocations: 3.956 MB / 0.5623 GB, free: 13.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.164803367108107]