Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.0007821/0.0007821, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001943, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008236/0.0008236, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009566/0.00178, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9701/0.9701, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08648/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1181/0.1181, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1421/0.2603, allocations: 9.534 MB / 283 MB, free: 12.84 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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.986e-05, allocations: 2.969 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007263/0.007283, allocations: 4.605 MB / 288.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.009524, allocations: 1.318 MB / 290.2 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.009883, allocations: 25.38 kB / 290.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.01024, allocations: 117.1 kB / 290.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.01083, allocations: 332.2 kB / 290.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.01127, allocations: 170 kB / 290.8 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.01201, allocations: 0.6838 MB / 291.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.01224, allocations: 103 kB / 291.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.01299, allocations: 0.4942 MB / 292.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.01342, allocations: 361 kB / 292.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.01348, allocations: 37.78 kB / 292.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.01358, allocations: 39.56 kB / 292.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.01377, allocations: 205.1 kB / 292.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.01395, allocations: 143.8 kB / 292.8 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.0144, allocations: 411.2 kB / 293.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.01442, allocations: 1.906 kB / 293.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01442, allocations: 4 kB / 293.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.01444, allocations: 0 / 293.3 MB, free: 5.574 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001112/0.01555, allocations: 0.8235 MB / 294.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01559, allocations: 12.03 kB / 294.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.01568, allocations: 56.89 kB / 294.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.01621, allocations: 427.8 kB / 294.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.01623, allocations: 20.66 kB / 294.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.01629, allocations: 36 kB / 294.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.01663, allocations: 344 kB / 295 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01664, allocations: 0 / 295 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.01667, allocations: 19.97 kB / 295 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.01679, allocations: 24.64 kB / 295 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.01695, allocations: 119.2 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.0183, allocations: 1.347 MB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.01873, allocations: 222.6 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.01896, allocations: 141.7 kB / 296.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01899, allocations: 8 kB / 296.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.01901, allocations: 42.55 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.01902, allocations: 0 / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001714/0.02073, allocations: 0.6282 MB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.02078, allocations: 85.05 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.02106, allocations: 331.2 kB / 297.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.0211, allocations: 33.7 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.02123, allocations: 221.5 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.02133, allocations: 130.9 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.02149, allocations: 102.2 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.02162, allocations: 354.7 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.02177, allocations: 59.8 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.02195, allocations: 149.3 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.02233, allocations: 256.8 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.02234, allocations: 4 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008088/0.02315, allocations: 386.5 kB / 299.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.02317, allocations: 8 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.02318, allocations: 4 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/0.02396, allocations: 143.4 kB / 299.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.02423, allocations: 95.83 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.02661, allocations: 3.292 MB / 303.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.0268, allocations: 39.73 kB / 303.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.02682, allocations: 12 kB / 303.1 MB, free: 11.32 MB / 298.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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.02698, allocations: 144.5 kB / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.02703, allocations: 31.97 kB / 303.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.02754, allocations: 394.7 kB / 303.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.02755, allocations: 4 kB / 303.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02755, allocations: 4 kB / 303.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02756, allocations: 0 / 303.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.02789, allocations: 233.8 kB / 303.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.02789, allocations: 4.125 kB / 303.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.028, allocations: 43.92 kB / 304 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.02804, allocations: 43.64 kB / 304 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005526/0.02859, allocations: 249.5 kB / 304.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.02863, allocations: 27.97 kB / 304.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.03088, allocations: 4.893 MB / 309.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.03089, allocations: 4 kB / 309.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.03151, allocations: 0.5758 MB / 309.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.03157, allocations: 23.98 kB / 309.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.03169, allocations: 8 kB / 309.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.03177, allocations: 35.86 kB / 309.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.03179, allocations: 16.05 kB / 309.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.0319, allocations: 132.7 kB / 310 MB, free: 3.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0319, allocations: 0 / 310 MB, free: 3.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00053/0.03243, allocations: 175.8 kB / 310.2 MB, free: 3.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.0326, allocations: 104.3 kB / 310.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.03327, allocations: 0.4987 MB / 310.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.03329, allocations: 8 kB / 310.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.03385, allocations: 0.6623 MB / 311.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.03427, allocations: 170.9 kB / 311.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.03998, allocations: 0.9955 MB / 312.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.04012, allocations: 153.7 kB / 312.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.04033, allocations: 52.36 kB / 312.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.04053, allocations: 131.3 kB / 312.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of SimCode: time 2.245e-06/0.04053, allocations: 0 / 312.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of Templates: time 0.01101/0.05154, allocations: 8.683 MB / 321.6 MB, free: 8.312 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9301363583654165]