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.001236/0.001236, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001358/0.001358, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.1745/0.1745, allocations: 38.53 MB / 353.2 MB, free: 12.63 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.001985/0.001985, allocations: 75.89 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 62.46 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006178/0.3181, allocations: 4.88 MB / 0.548 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.321, allocations: 1.38 MB / 0.5493 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.3212, allocations: 20.62 kB / 0.5494 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3227, allocations: 418.7 kB / 0.5498 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.3234, allocations: 240.8 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.3241, allocations: 177.5 kB / 0.5502 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.3247, allocations: 0.5558 MB / 0.5507 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.3251, allocations: 268.3 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.3256, allocations: 261 kB / 0.5512 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.326, allocations: 296.3 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.326, allocations: 31.59 kB / 0.5515 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.3263, allocations: 142 kB / 0.5516 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.3265, allocations: 190.8 kB / 0.5518 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.3268, allocations: 226.7 kB / 0.552 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.3274, allocations: 0.5291 MB / 0.5526 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3274, allocations: 0.9688 kB / 0.5526 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3274, allocations: 0 / 0.5526 GB, free: 9.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3274, allocations: 0 / 0.5526 GB, free: 9.523 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.001143/0.3285, allocations: 0.6541 MB / 0.5532 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3286, allocations: 18.61 kB / 0.5532 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.3292, allocations: 91.73 kB / 0.5533 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.3299, allocations: 353.1 kB / 0.5536 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3299, allocations: 31.97 kB / 0.5537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.3301, allocations: 51.62 kB / 0.5537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.3308, allocations: 469.5 kB / 0.5542 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3308, allocations: 5.125 kB / 0.5542 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.3308, allocations: 15.47 kB / 0.5542 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.3309, allocations: 29.02 kB / 0.5542 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.3315, allocations: 344.9 kB / 0.5545 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.3338, allocations: 1.563 MB / 0.5561 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.3341, allocations: 167.9 kB / 0.5562 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3343, allocations: 102.4 kB / 0.5563 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3343, allocations: 2.219 kB / 0.5563 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3343, allocations: 40.75 kB / 0.5564 GB, free: 6.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.3343, allocations: 0 / 0.5564 GB, free: 6.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001297/0.3356, allocations: 0.7255 MB / 0.5571 GB, free: 6.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.3357, allocations: 81.11 kB / 0.5572 GB, free: 5.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.336, allocations: 300.5 kB / 0.5574 GB, free: 5.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.336, allocations: 33.7 kB / 0.5575 GB, free: 5.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3362, allocations: 256.1 kB / 0.5577 GB, free: 5.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.3363, allocations: 75.31 kB / 0.5578 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.3364, allocations: 69.77 kB / 0.5579 GB, free: 5.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3366, allocations: 346.8 kB / 0.5582 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.3367, allocations: 91.94 kB / 0.5583 GB, free: 4.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.337, allocations: 204.8 kB / 0.5585 GB, free: 4.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.3374, allocations: 332.4 kB / 0.5588 GB, free: 4.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3374, allocations: 0 / 0.5588 GB, free: 4.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008075/0.3382, allocations: 416.4 kB / 0.5592 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3383, allocations: 12.03 kB / 0.5592 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005158/0.3388, allocations: 264.2 kB / 0.5595 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.3391, allocations: 76.78 kB / 0.5595 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3393, allocations: 59.91 kB / 0.5596 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.3411, allocations: 1.611 MB / 0.5612 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3413, allocations: 15.92 kB / 0.5612 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3413, allocations: 20.06 kB / 0.5612 GB, free: 1.52 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.0002216/0.3415, allocations: 197.7 kB / 0.5614 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.3416, allocations: 27.81 kB / 0.5614 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.342, allocations: 267.8 kB / 0.5617 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.342, allocations: 4 kB / 0.5617 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.342, allocations: 0 / 0.5617 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.342, allocations: 3.938 kB / 0.5617 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3432, allocations: 0.7292 MB / 0.5624 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3432, allocations: 4 kB / 0.5624 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3435, allocations: 51.91 kB / 0.5624 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3435, allocations: 144 / 0.5624 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3435, allocations: 11.94 kB / 0.5624 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3435, allocations: 0 / 0.5624 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3435, allocations: 16.03 kB / 0.5625 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/0.3441, allocations: 455.6 kB / 0.5629 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3442, allocations: 31.84 kB / 0.5629 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.3442, allocations: 11.94 kB / 0.5629 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3444, allocations: 8 kB / 0.5629 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3444, allocations: 15.97 kB / 0.563 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3444, allocations: 8 kB / 0.563 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.3446, allocations: 219 kB / 0.5632 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 0.5632 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.345, allocations: 87.94 kB / 0.5633 GB, free: 15.31 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.0001305/0.3452, allocations: 107.1 kB / 0.5634 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006475/0.3458, allocations: 366.3 kB / 0.5637 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3458, allocations: 0 / 0.5637 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.346, allocations: 99.83 kB / 0.5638 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.3464, allocations: 74.39 kB / 0.5639 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3479, allocations: 0.9614 MB / 0.5648 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.3484, allocations: 0.8461 MB / 0.5656 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.3485, allocations: 35.36 kB / 0.5657 GB, free: 12.74 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3485, allocations: 0 / 0.5657 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Templates: time 0.008184/0.3567, allocations: 5.323 MB / 0.5709 GB, free: 7.422 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: 7.838242202997208]