Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001228/0.001228, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001348/0.001348, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.553/1.553, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.1725/0.1725, allocations: 38.52 MB / 353.2 MB, free: 12.57 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [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.002066/0.002066, allocations: 63.91 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 62.46 MB / 0.5432 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005977/0.3392, allocations: 4.354 MB / 0.5475 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.341, allocations: 0.9941 MB / 0.5485 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.3412, allocations: 14.66 kB / 0.5485 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3415, allocations: 60.83 kB / 0.5485 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.3421, allocations: 203.5 kB / 0.5487 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3423, allocations: 96.88 kB / 0.5488 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.3429, allocations: 490.5 kB / 0.5493 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.3431, allocations: 94.62 kB / 0.5494 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.3435, allocations: 220.8 kB / 0.5496 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.3439, allocations: 259.9 kB / 0.5498 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.344, allocations: 26.78 kB / 0.5499 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3441, allocations: 30.12 kB / 0.5499 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.3443, allocations: 127 kB / 0.55 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.3445, allocations: 184 kB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.345, allocations: 384.9 kB / 0.5505 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.345, allocations: 0 / 0.5505 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.345, allocations: 1.344 kB / 0.5505 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.345, allocations: 0 / 0.5505 GB, free: 11.04 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001366/0.3463, allocations: 0.6327 MB / 0.5512 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3464, allocations: 12.42 kB / 0.5512 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3466, allocations: 51.92 kB / 0.5512 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.3472, allocations: 335.8 kB / 0.5515 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3473, allocations: 20.16 kB / 0.5516 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.3473, allocations: 23.75 kB / 0.5516 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.3479, allocations: 363.5 kB / 0.5519 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3479, allocations: 0 / 0.5519 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.348, allocations: 11.09 kB / 0.5519 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.348, allocations: 7.781 kB / 0.552 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.3484, allocations: 261.2 kB / 0.5522 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.3503, allocations: 1.404 MB / 0.5536 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3506, allocations: 150.8 kB / 0.5537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3508, allocations: 73.77 kB / 0.5538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3508, allocations: 6.156 kB / 0.5538 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3508, allocations: 36.72 kB / 0.5538 GB, free: 8.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.3508, allocations: 3.938 kB / 0.5538 GB, free: 8.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001205/0.352, allocations: 0.6073 MB / 0.5544 GB, free: 7.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3521, allocations: 78.48 kB / 0.5545 GB, free: 7.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.3524, allocations: 305.5 kB / 0.5548 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3524, allocations: 26.89 kB / 0.5548 GB, free: 7.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3526, allocations: 224.3 kB / 0.555 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.3527, allocations: 55.52 kB / 0.5551 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.3527, allocations: 55.3 kB / 0.5551 GB, free: 7.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3529, allocations: 341.4 kB / 0.5555 GB, free: 7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.353, allocations: 67.23 kB / 0.5555 GB, free: 6.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.3532, allocations: 181.6 kB / 0.5557 GB, free: 6.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.3536, allocations: 252.6 kB / 0.5559 GB, free: 6.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3536, allocations: 1.156 kB / 0.5559 GB, free: 6.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004209/0.354, allocations: 288.9 kB / 0.5562 GB, free: 6.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.354, allocations: 6.25 kB / 0.5562 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.354, allocations: 3.5 kB / 0.5562 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.354, allocations: 4.5 kB / 0.5562 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3543, allocations: 64.23 kB / 0.5563 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3543, allocations: 8.234 kB / 0.5563 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3545, allocations: 19.58 kB / 0.5563 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3545, allocations: 9.688 kB / 0.5563 GB, free: 6.391 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001898/0.3547, allocations: 170.3 kB / 0.5565 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3548, allocations: 33.47 kB / 0.5565 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.3552, allocations: 227.6 kB / 0.5567 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3552, allocations: 7.391 kB / 0.5567 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3552, allocations: 0 / 0.5567 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3552, allocations: 1.094 kB / 0.5567 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.3561, allocations: 0.6031 MB / 0.5573 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3561, allocations: 0 / 0.5573 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.3563, allocations: 39.91 kB / 0.5574 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3563, allocations: 3.938 kB / 0.5574 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3563, allocations: 8 kB / 0.5574 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3563, allocations: 0 / 0.5574 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3563, allocations: 4 kB / 0.5574 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.3569, allocations: 424.9 kB / 0.5578 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3569, allocations: 35.77 kB / 0.5578 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.357, allocations: 4 kB / 0.5578 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3571, allocations: 7.984 kB / 0.5578 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3572, allocations: 15.92 kB / 0.5579 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3572, allocations: 8 kB / 0.5579 GB, free: 4.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3574, allocations: 215 kB / 0.5581 GB, free: 4.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3574, allocations: 0 / 0.5581 GB, free: 4.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3577, allocations: 68 kB / 0.5581 GB, free: 4.719 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001051/0.3578, allocations: 95.25 kB / 0.5582 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3582, allocations: 182.6 kB / 0.5584 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3582, allocations: 0 / 0.5584 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3583, allocations: 80.77 kB / 0.5585 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.3588, allocations: 75.03 kB / 0.5585 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.36, allocations: 0.7015 MB / 0.5592 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3604, allocations: 0.8026 MB / 0.56 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.3605, allocations: 27.42 kB / 0.56 GB, free: 2.691 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3605, allocations: 4 kB / 0.56 GB, free: 2.688 MB / 398.1 MB Notification: Performance of Templates: time 0.006525/0.367, allocations: 3.909 MB / 0.5639 GB, free: 14.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.i,meter.p,meter.v,time [Calling sys.exit(0), Time elapsed: 7.6349546981509775]