Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.00161/0.00161, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001988/0.001988, allocations: 214.2 kB / 24.48 MB, free: 3.844 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.64/1.64, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1864/0.1864, allocations: 38.56 MB / 353.2 MB, free: 12.39 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.91 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3181, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006569/0.3246, allocations: 4.59 MB / 0.5476 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.3273, allocations: 1.285 MB / 0.5489 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.3275, allocations: 16.44 kB / 0.5489 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.3289, allocations: 391.8 kB / 0.5493 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.3296, allocations: 248.5 kB / 0.5495 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.3302, allocations: 183.1 kB / 0.5497 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.3309, allocations: 0.5584 MB / 0.5502 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.3314, allocations: 261.1 kB / 0.5505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.3319, allocations: 264.6 kB / 0.5507 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.3323, allocations: 272 kB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.3324, allocations: 31.59 kB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3327, allocations: 136.9 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.3329, allocations: 187 kB / 0.5513 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.3331, allocations: 187.5 kB / 0.5515 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.3338, allocations: 0.5305 MB / 0.552 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3338, allocations: 3.984 kB / 0.552 GB, free: 9.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3339, allocations: 0 / 0.552 GB, free: 9.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3339, allocations: 0 / 0.552 GB, free: 9.836 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001228/0.3351, allocations: 0.6482 MB / 0.5527 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3351, allocations: 17.23 kB / 0.5527 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000693/0.3358, allocations: 92.97 kB / 0.5528 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.3366, allocations: 354.1 kB / 0.5531 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.3367, allocations: 26.61 kB / 0.5531 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3368, allocations: 44.66 kB / 0.5532 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.3375, allocations: 479.7 kB / 0.5536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3376, allocations: 1.125 kB / 0.5536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.3376, allocations: 19.61 kB / 0.5537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.3377, allocations: 24.8 kB / 0.5537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.3383, allocations: 343.8 kB / 0.554 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.3406, allocations: 1.418 MB / 0.5554 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.341, allocations: 168.4 kB / 0.5556 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3412, allocations: 109.3 kB / 0.5557 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.3412, allocations: 2.156 kB / 0.5557 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3413, allocations: 41.06 kB / 0.5557 GB, free: 7.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.3413, allocations: 0 / 0.5557 GB, free: 7.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001406/0.3427, allocations: 0.7157 MB / 0.5564 GB, free: 6.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3427, allocations: 77.11 kB / 0.5565 GB, free: 6.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.3431, allocations: 300.5 kB / 0.5568 GB, free: 6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3431, allocations: 25.7 kB / 0.5568 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3433, allocations: 264 kB / 0.557 GB, free: 5.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.3434, allocations: 79.5 kB / 0.5571 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3435, allocations: 57.7 kB / 0.5572 GB, free: 5.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3436, allocations: 342.8 kB / 0.5575 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3438, allocations: 99.88 kB / 0.5576 GB, free: 5.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.3441, allocations: 196.8 kB / 0.5578 GB, free: 4.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.3446, allocations: 328.4 kB / 0.5581 GB, free: 4.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3446, allocations: 0 / 0.5581 GB, free: 4.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008812/0.3455, allocations: 429.4 kB / 0.5585 GB, free: 4.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3455, allocations: 8 kB / 0.5585 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005214/0.346, allocations: 264.2 kB / 0.5588 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.3464, allocations: 77.22 kB / 0.5588 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3467, allocations: 67.84 kB / 0.5589 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.3485, allocations: 1.581 MB / 0.5604 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.3488, allocations: 12 kB / 0.5605 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3488, allocations: 15.98 kB / 0.5605 GB, free: 1.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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.0002686/0.3491, allocations: 201.8 kB / 0.5607 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.3491, allocations: 31.8 kB / 0.5607 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.3497, allocations: 264.5 kB / 0.561 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3497, allocations: 0 / 0.561 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3497, allocations: 7.938 kB / 0.561 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3497, allocations: 3.984 kB / 0.561 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3509, allocations: 0.6395 MB / 0.5616 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3509, allocations: 0 / 0.5616 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.3512, allocations: 52.03 kB / 0.5616 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3512, allocations: 4 kB / 0.5616 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3512, allocations: 4 kB / 0.5616 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.3512, allocations: 7.938 kB / 0.5617 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3512, allocations: 0 / 0.5617 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.3519, allocations: 460.7 kB / 0.5621 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.3519, allocations: 27.81 kB / 0.5621 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.352, allocations: 11.97 kB / 0.5621 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3521, allocations: 8 kB / 0.5621 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.3522, allocations: 27.84 kB / 0.5622 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3522, allocations: 8 kB / 0.5622 GB, free: 148 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.3525, allocations: 207.1 kB / 0.5624 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3525, allocations: 0 / 0.5624 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.3529, allocations: 84 kB / 0.5624 GB, free: 15.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0001281/0.353, allocations: 99.23 kB / 0.5625 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.3537, allocations: 370.8 kB / 0.5629 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3537, allocations: 0 / 0.5629 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3539, allocations: 91.84 kB / 0.563 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3544, allocations: 79.48 kB / 0.5631 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3561, allocations: 0.9697 MB / 0.564 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3564, allocations: 249.3 kB / 0.5642 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/0.3565, allocations: 27.44 kB / 0.5643 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3565, allocations: 4 kB / 0.5643 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Templates: time 0.009093/0.3656, allocations: 5.453 MB / 0.5696 GB, free: 8.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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: 8.309103408362716]