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.001813/0.001813, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002351/0.002351, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.185/0.185, allocations: 38.56 MB / 353.2 MB, free: 12.29 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.00218/0.00218, allocations: 66.41 kB / 493.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3045, allocations: 62.47 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006378/0.3109, allocations: 4.12 MB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3128, allocations: 0.9255 MB / 0.5481 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.313, allocations: 15.34 kB / 0.5481 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3132, allocations: 55.48 kB / 0.5482 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005997/0.3138, allocations: 212.5 kB / 0.5484 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.314, allocations: 100.9 kB / 0.5485 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.3146, allocations: 482.6 kB / 0.5489 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.3148, allocations: 90.77 kB / 0.549 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.3152, allocations: 224.8 kB / 0.5492 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.3156, allocations: 248 kB / 0.5495 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.3157, allocations: 31.31 kB / 0.5495 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3158, allocations: 29.19 kB / 0.5495 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3159, allocations: 120.1 kB / 0.5496 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3161, allocations: 156.3 kB / 0.5498 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3166, allocations: 386.8 kB / 0.5502 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3166, allocations: 1.469 kB / 0.5502 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3166, allocations: 0 / 0.5502 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3166, allocations: 0 / 0.5502 GB, free: 11.2 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.001417/0.3181, allocations: 0.6324 MB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3181, allocations: 13.77 kB / 0.5508 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3183, allocations: 54.83 kB / 0.5508 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.319, allocations: 340.9 kB / 0.5512 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3191, allocations: 18.5 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.3191, allocations: 24.56 kB / 0.5512 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.3197, allocations: 361.9 kB / 0.5515 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3197, allocations: 1.062 kB / 0.5515 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.3198, allocations: 15.22 kB / 0.5516 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3198, allocations: 6.938 kB / 0.5516 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.3203, allocations: 256.4 kB / 0.5518 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.3222, allocations: 1.302 MB / 0.5531 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.3225, allocations: 150.3 kB / 0.5532 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3227, allocations: 74.95 kB / 0.5533 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3227, allocations: 6.172 kB / 0.5533 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.3227, allocations: 36.98 kB / 0.5533 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.3227, allocations: 0 / 0.5533 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001228/0.324, allocations: 0.6147 MB / 0.5539 GB, free: 8.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.324, allocations: 79.42 kB / 0.554 GB, free: 8.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.3244, allocations: 306.9 kB / 0.5543 GB, free: 7.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3244, allocations: 31.02 kB / 0.5543 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3246, allocations: 220 kB / 0.5545 GB, free: 7.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.3246, allocations: 62.28 kB / 0.5546 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.3247, allocations: 56.3 kB / 0.5547 GB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3249, allocations: 338.8 kB / 0.555 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.325, allocations: 63.11 kB / 0.555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3252, allocations: 168.2 kB / 0.5552 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.3256, allocations: 262.1 kB / 0.5555 GB, free: 6.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3256, allocations: 4.969 kB / 0.5555 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000451/0.326, allocations: 284.9 kB / 0.5557 GB, free: 6.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3261, allocations: 10.53 kB / 0.5557 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3261, allocations: 3.531 kB / 0.5557 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3261, allocations: 5.688 kB / 0.5558 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3264, allocations: 63.06 kB / 0.5558 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.3264, allocations: 17.59 kB / 0.5558 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3266, allocations: 14.39 kB / 0.5558 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.3266, allocations: 18.2 kB / 0.5559 GB, free: 6.641 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.0001984/0.3268, allocations: 163.1 kB / 0.556 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.3268, allocations: 28.86 kB / 0.556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.3273, allocations: 236 kB / 0.5563 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3273, allocations: 2.719 kB / 0.5563 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3273, allocations: 1.062 kB / 0.5563 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3273, allocations: 3.984 kB / 0.5563 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.3281, allocations: 0.5362 MB / 0.5568 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3281, allocations: 0 / 0.5568 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.3284, allocations: 39.97 kB / 0.5568 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3284, allocations: 4 kB / 0.5568 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3284, allocations: 0 / 0.5568 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3284, allocations: 0 / 0.5568 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3284, allocations: 7.938 kB / 0.5568 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.329, allocations: 428 kB / 0.5573 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.329, allocations: 27.81 kB / 0.5573 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3291, allocations: 7.984 kB / 0.5573 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3292, allocations: 12.09 kB / 0.5573 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3293, allocations: 11.97 kB / 0.5573 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3293, allocations: 8 kB / 0.5573 GB, free: 5.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.3295, allocations: 207.1 kB / 0.5575 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3295, allocations: 0 / 0.5575 GB, free: 5.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.3299, allocations: 60 kB / 0.5576 GB, free: 4.969 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.0001168/0.33, allocations: 107.2 kB / 0.5577 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.3304, allocations: 176.3 kB / 0.5578 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.3304, allocations: 0 / 0.5578 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3305, allocations: 87.88 kB / 0.5579 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.331, allocations: 72.48 kB / 0.558 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.3322, allocations: 0.6941 MB / 0.5587 GB, free: 3.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.3324, allocations: 199.5 kB / 0.5589 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.3325, allocations: 27.44 kB / 0.5589 GB, free: 3.543 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3325, allocations: 0 / 0.5589 GB, free: 3.543 MB / 398.1 MB Notification: Performance of Templates: time 0.007076/0.3396, allocations: 4.059 MB / 0.5629 GB, free: 15.5 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.931113336700946]