Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001849/0.001849, 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.001994/0.001994, 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.472/1.472, allocations: 225.6 MB / 252.5 MB, free: 13 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.2254/0.2254, allocations: 38.54 MB / 346.3 MB, free: 2.254 MB / 270.1 MB " [Timeout remaining time 179] 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.Source,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.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,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.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 63.91 kB / 484.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3962, allocations: 61.29 MB / 0.533 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00579/0.402, allocations: 4.563 MB / 0.5375 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.4046, allocations: 1.543 MB / 0.539 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.4048, allocations: 20.34 kB / 0.539 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009211/0.4058, allocations: 296.6 kB / 0.5393 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006316/0.4064, allocations: 296 kB / 0.5396 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.4071, allocations: 249.2 kB / 0.5398 GB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.4077, allocations: 0.6106 MB / 0.5404 GB, free: 152 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.408, allocations: 159.5 kB / 0.5406 GB, free: 52 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.4084, allocations: 279.3 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.409, allocations: 394.2 kB / 0.5412 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.4091, allocations: 39.44 kB / 0.5412 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.4096, allocations: 242.3 kB / 0.5415 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.4099, allocations: 232.4 kB / 0.5417 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.4102, allocations: 255.6 kB / 0.5419 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009277/0.4111, allocations: 0.6757 MB / 0.5426 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4111, allocations: 0 / 0.5426 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4111, allocations: 4 kB / 0.5426 GB, free: 14.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.4111, allocations: 0 / 0.5426 GB, free: 14.8 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001624/0.4128, allocations: 0.7056 MB / 0.5433 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4128, allocations: 13.09 kB / 0.5433 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006756/0.4135, allocations: 90.55 kB / 0.5434 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.4143, allocations: 358.7 kB / 0.5437 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.4143, allocations: 36.39 kB / 0.5438 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.4146, allocations: 46.05 kB / 0.5438 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.4158, allocations: 0.6923 MB / 0.5445 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4159, allocations: 5.188 kB / 0.5445 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.4159, allocations: 16.52 kB / 0.5445 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002331/0.4162, allocations: 67.5 kB / 0.5446 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.4173, allocations: 0.6687 MB / 0.5452 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.4214, allocations: 2.577 MB / 0.5477 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.422, allocations: 300.3 kB / 0.548 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.4223, allocations: 190.7 kB / 0.5482 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.4224, allocations: 11.55 kB / 0.5482 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.4224, allocations: 36.97 kB / 0.5483 GB, free: 10.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/0.4224, allocations: 4 kB / 0.5483 GB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.00232/0.4247, allocations: 1.242 MB / 0.5495 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.4248, allocations: 81.17 kB / 0.5496 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.4252, allocations: 292.3 kB / 0.5498 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.4252, allocations: 30.95 kB / 0.5499 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4254, allocations: 252.9 kB / 0.5501 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4256, allocations: 144.1 kB / 0.5502 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.4257, allocations: 94.12 kB / 0.5503 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4259, allocations: 353.1 kB / 0.5507 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.4262, allocations: 187.3 kB / 0.5508 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.4267, allocations: 324.9 kB / 0.5512 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.4276, allocations: 0.5605 MB / 0.5517 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4276, allocations: 1.156 kB / 0.5517 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001457/0.4291, allocations: 0.6714 MB / 0.5524 GB, free: 7.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.4291, allocations: 14.84 kB / 0.5524 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008926/0.43, allocations: 492.1 kB / 0.5528 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.4305, allocations: 109.6 kB / 0.5529 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.4308, allocations: 79.83 kB / 0.553 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.4339, allocations: 3.059 MB / 0.556 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.4342, allocations: 31.95 kB / 0.556 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.4342, allocations: 24 kB / 0.5561 GB, free: 3.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.4346, allocations: 205.7 kB / 0.5563 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4347, allocations: 39.75 kB / 0.5563 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.4355, allocations: 464.6 kB / 0.5567 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.4355, allocations: 8 kB / 0.5567 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4355, allocations: 4 kB / 0.5568 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4355, allocations: 7.938 kB / 0.5568 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.437, allocations: 0.9845 MB / 0.5577 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.437, allocations: 0 / 0.5577 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.4374, allocations: 71.89 kB / 0.5578 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4374, allocations: 3.938 kB / 0.5578 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.4374, allocations: 11.98 kB / 0.5578 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4374, allocations: 8.062 kB / 0.5578 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4374, allocations: 0 / 0.5578 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.4384, allocations: 0.7436 MB / 0.5585 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4385, allocations: 55.83 kB / 0.5586 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.4386, allocations: 15.89 kB / 0.5586 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.4388, allocations: 19.98 kB / 0.5586 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.4388, allocations: 23.95 kB / 0.5586 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.4389, allocations: 8 kB / 0.5587 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.4391, allocations: 211 kB / 0.5589 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4391, allocations: 0 / 0.5589 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.4396, allocations: 111.9 kB / 0.559 GB, free: 0.8164 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002513/0.4399, allocations: 143.2 kB / 0.5591 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.441, allocations: 0.6783 MB / 0.5598 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.441, allocations: 4 kB / 0.5598 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.4413, allocations: 196.9 kB / 0.56 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.4419, allocations: 74.55 kB / 0.56 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.444, allocations: 1.122 MB / 0.5611 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.4445, allocations: 0.8667 MB / 0.562 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.4448, allocations: 119.2 kB / 0.5621 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.4449, allocations: 31.44 kB / 0.5621 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4449, allocations: 3.938 kB / 0.5621 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Templates: time 0.01171/0.4566, allocations: 4.713 MB / 0.5667 GB, free: 8.801 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.467412588186562]