Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.0008233/0.0008233, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001853, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001072/0.001072, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002527, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09157/1.099, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1137/0.1137, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/0.2374, allocations: 9.538 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.845e-06/8.897e-06, allocations: 3.578 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003489/0.003498, allocations: 3.855 MB / 288.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.004432, allocations: 0.9081 MB / 289.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.004538, allocations: 13.59 kB / 289.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.449e-05/0.004623, allocations: 39.73 kB / 289.3 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.00486, allocations: 174 kB / 289.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.004981, allocations: 87.44 kB / 289.5 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.005252, allocations: 378.2 kB / 289.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005367, allocations: 67.53 kB / 290 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.005814, allocations: 282.2 kB / 290.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.005967, allocations: 121.3 kB / 290.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.005993, allocations: 15.69 kB / 290.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.006026, allocations: 15.47 kB / 290.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.006097, allocations: 82.27 kB / 290.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.006168, allocations: 68.97 kB / 290.5 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.006355, allocations: 171 kB / 290.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.006364, allocations: 0 / 290.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006365, allocations: 0 / 290.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.006373, allocations: 1.375 kB / 290.7 MB, free: 7.227 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005008/0.006874, allocations: 0.5009 MB / 291.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.0069, allocations: 9.625 kB / 291.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.006947, allocations: 41.53 kB / 291.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.007192, allocations: 245.7 kB / 291.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.007205, allocations: 21.12 kB / 291.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.007233, allocations: 18.12 kB / 291.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.007403, allocations: 200.5 kB / 291.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007411, allocations: 1.375 kB / 291.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.007424, allocations: 10.75 kB / 291.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.00743, allocations: 5.5 kB / 291.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.007502, allocations: 66.36 kB / 291.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.008178, allocations: 0.9857 MB / 292.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.524e-05/0.008263, allocations: 64.59 kB / 292.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.008287, allocations: 20.52 kB / 292.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.008297, allocations: 1.312 kB / 292.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.008321, allocations: 41.06 kB / 292.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008323, allocations: 0 / 292.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001893/0.008512, allocations: 95.84 kB / 293 MB, free: 5.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.008546, allocations: 82.53 kB / 293.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.00868, allocations: 231.3 kB / 293.3 MB, free: 5.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.008689, allocations: 25.7 kB / 293.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.008759, allocations: 173.3 kB / 293.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.008778, allocations: 30.8 kB / 293.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.008815, allocations: 39.02 kB / 293.6 MB, free: 4.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.00889, allocations: 332.1 kB / 293.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.008906, allocations: 13.69 kB / 293.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.008963, allocations: 105.6 kB / 294 MB, free: 4.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.009075, allocations: 150.1 kB / 294.2 MB, free: 4.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.009077, allocations: 4.844 kB / 294.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001144/0.009192, allocations: 129 kB / 294.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.009203, allocations: 6.156 kB / 294.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009209, allocations: 8.469 kB / 294.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.00922, allocations: 8.562 kB / 294.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.009348, allocations: 44.89 kB / 294.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.009356, allocations: 12.39 kB / 294.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.009415, allocations: 26.44 kB / 294.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.009424, allocations: 5.969 kB / 294.4 MB, free: 4.043 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (21): * Single equations (assignments): 21 * 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 6.93e-05/0.009494, allocations: 125.1 kB / 294.5 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.009515, allocations: 17.11 kB / 294.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.00959, allocations: 71.44 kB / 294.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.009592, allocations: 1.719 kB / 294.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.009594, allocations: 5.375 kB / 294.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.009596, allocations: 0 / 294.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.009707, allocations: 119.3 kB / 294.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009708, allocations: 1.25 kB / 294.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.009765, allocations: 25.27 kB / 294.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.009782, allocations: 18.91 kB / 294.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009784, allocations: 1.344 kB / 294.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.00979, allocations: 1.312 kB / 294.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009792, allocations: 1.188 kB / 294.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009793, allocations: 0 / 294.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.009908, allocations: 180.2 kB / 295 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.009922, allocations: 0 / 295 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.009967, allocations: 10.95 kB / 295 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.00998, allocations: 5.156 kB / 295 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.009984, allocations: 1.188 kB / 295 MB, free: 3.547 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.34e-05/0.01004, allocations: 72 kB / 295 MB, free: 3.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01004, allocations: 0 / 295 MB, free: 3.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.0102, allocations: 51.11 kB / 295.1 MB, free: 3.496 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (ind.i) * 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 (8): * Single equations (assignments): 7 * 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 6.403e-05/0.01027, allocations: 84.27 kB / 295.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.01037, allocations: 78.16 kB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.01038, allocations: 4.25 kB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.01041, allocations: 27.31 kB / 295.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.01077, allocations: 0.4947 MB / 295.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.01406, allocations: 482.7 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.01411, allocations: 96.3 kB / 296.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.01417, allocations: 33.86 kB / 296.4 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.01425, allocations: 87.34 kB / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01425, allocations: 0 / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of Templates: time 0.003734/0.01799, allocations: 1.943 MB / 298.4 MB, free: 272 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.732235698029399]