Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.0009977/0.0009977, allocations: 75.75 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001453/0.001453, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 18.57 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2523/0.2523, allocations: 29.41 MB / 291.2 MB, free: 2.496 MB / 266.7 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.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3704,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3704,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.478e-05, allocations: 9.922 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006063/0.006097, allocations: 4.213 MB / 373.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.007566, allocations: 0.8492 MB / 374.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.007755, allocations: 19.81 kB / 374.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.00796, allocations: 47.5 kB / 374.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.008463, allocations: 167 kB / 374.9 MB, free: 6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.00868, allocations: 91.75 kB / 375 MB, free: 5.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.009139, allocations: 410.4 kB / 375.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.009335, allocations: 70.64 kB / 375.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.009678, allocations: 251.2 kB / 375.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.009889, allocations: 163.5 kB / 375.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.009921, allocations: 20 kB / 375.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.009952, allocations: 20 kB / 375.9 MB, free: 5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.01003, allocations: 87.73 kB / 376 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.01012, allocations: 99.75 kB / 376.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.01034, allocations: 207.2 kB / 376.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.01034, allocations: 0 / 376.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01034, allocations: 0 / 376.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.01035, allocations: 0 / 376.3 MB, free: 4.613 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006725/0.01102, allocations: 0.6293 MB / 376.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.01106, allocations: 15.98 kB / 377 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.01113, allocations: 56.7 kB / 377 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.01147, allocations: 287.9 kB / 377.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.0115, allocations: 16.88 kB / 377.3 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.01159, allocations: 36.73 kB / 377.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.01184, allocations: 249.6 kB / 377.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01185, allocations: 4 kB / 377.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.01187, allocations: 8 kB / 377.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01188, allocations: 8 kB / 377.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.01202, allocations: 95.8 kB / 377.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.01301, allocations: 1.468 MB / 379.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.01323, allocations: 141.2 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.01327, allocations: 31.12 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.01329, allocations: 12 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.01332, allocations: 45.31 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.01332, allocations: 0 / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006305/0.01395, allocations: 432.2 kB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.014, allocations: 106.8 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.01417, allocations: 296.2 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.01419, allocations: 29.7 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.01456, allocations: 238.9 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.01458, allocations: 47.83 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.01463, allocations: 51.36 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01474, allocations: 0.5002 MB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.01478, allocations: 27.92 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.01488, allocations: 162.2 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.01503, allocations: 203.3 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01503, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002614/0.0153, allocations: 209 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01531, allocations: 8 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01532, allocations: 4 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.882e-05/0.0154, allocations: 23.67 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.01558, allocations: 63.88 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01558, allocations: 7.938 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.01564, allocations: 8 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.01565, allocations: 16.22 kB / 381.8 MB, free: 14.64 MB / 362.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.518e-05/0.01575, allocations: 176.5 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.01579, allocations: 31.8 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.01595, allocations: 115.4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01595, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01596, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01596, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.01616, allocations: 224.4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01616, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-05/0.01625, allocations: 27.92 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01626, allocations: 8 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.01626, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01627, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01627, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.01652, allocations: 422.5 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.01655, allocations: 31.73 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01657, allocations: 3.938 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01664, allocations: 8 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.01666, allocations: 7.984 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01667, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.01676, allocations: 205.1 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01676, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000216/0.01698, allocations: 44 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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 7.957e-05/0.01706, allocations: 110.3 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.01728, allocations: 115.7 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01728, allocations: 0.8125 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.01734, allocations: 47.61 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.01767, allocations: 63.41 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01868, allocations: 0.5522 MB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.01874, allocations: 92.3 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.0188, allocations: 34.28 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.01885, allocations: 20.5 kB / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01885, allocations: 0 / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of Templates: time 0.004115/0.02296, allocations: 2.303 MB / 386.4 MB, free: 9.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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: 3.086107784882188]