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.001923/0.001923, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002358/0.002358, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3751/0.3751, allocations: 29.4 MB / 290.5 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.274e-05, allocations: 5.266 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.007327/0.00736, allocations: 4.027 MB / 372.9 MB, free: 7.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.009135, allocations: 0.8179 MB / 373.7 MB, free: 6.434 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.009317, allocations: 19.81 kB / 373.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.00953, allocations: 43.56 kB / 373.8 MB, free: 6.371 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.01007, allocations: 174.9 kB / 374 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.01033, allocations: 91.8 kB / 374.1 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.01089, allocations: 402.4 kB / 374.5 MB, free: 5.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.01116, allocations: 74.64 kB / 374.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.01167, allocations: 255.1 kB / 374.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.01202, allocations: 163.5 kB / 374.9 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.01208, allocations: 20 kB / 375 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.01214, allocations: 20 kB / 375 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01228, allocations: 87.72 kB / 375.1 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.01244, allocations: 99.73 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.01294, allocations: 287 kB / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01294, allocations: 0 / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01294, allocations: 0 / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01295, allocations: 0 / 375.4 MB, free: 4.734 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.001467/0.01442, allocations: 0.5216 MB / 376 MB, free: 4.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.01447, allocations: 15.98 kB / 376 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.0146, allocations: 52.7 kB / 376 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.01545, allocations: 293.1 kB / 376.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.01549, allocations: 12.88 kB / 376.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.01571, allocations: 36.69 kB / 376.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/0.01648, allocations: 302.9 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.01649, allocations: 0 / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.01653, allocations: 8 kB / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.01655, allocations: 8 kB / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.01702, allocations: 187.8 kB / 376.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.01884, allocations: 1.157 MB / 378 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.01931, allocations: 123.8 kB / 378.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.01944, allocations: 46.62 kB / 378.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.01947, allocations: 4 kB / 378.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.01953, allocations: 38.55 kB / 378.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.01954, allocations: 0 / 378.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001196/0.02073, allocations: 471.6 kB / 378.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.02084, allocations: 114.8 kB / 378.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.02118, allocations: 241.8 kB / 379 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.02121, allocations: 29.95 kB / 379.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.02139, allocations: 196.1 kB / 379.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.02146, allocations: 51.62 kB / 379.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.02153, allocations: 37.7 kB / 379.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.02176, allocations: 338.8 kB / 379.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.02185, allocations: 35.98 kB / 379.7 MB, free: 168 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.02205, allocations: 134.2 kB / 379.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.02235, allocations: 191.2 kB / 380 MB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.02235, allocations: 0 / 380 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005177/0.02287, allocations: 246 kB / 380.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.02289, allocations: 4 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.0229, allocations: 4 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.02305, allocations: 32.84 kB / 380.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.02339, allocations: 59.89 kB / 380.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.0234, allocations: 4.406 kB / 380.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.02353, allocations: 15.94 kB / 380.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.02356, allocations: 11.98 kB / 380.4 MB, free: 15.38 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 0.0002252/0.02379, allocations: 149.7 kB / 380.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.02388, allocations: 27.86 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.02419, allocations: 143.3 kB / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.02419, allocations: 0 / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.0242, allocations: 4 kB / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.0242, allocations: 0 / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.02461, allocations: 205.2 kB / 380.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02461, allocations: 7.938 kB / 380.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.0248, allocations: 31.98 kB / 380.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.0248, allocations: 0 / 380.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.02481, allocations: 0 / 380.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.02482, allocations: 4 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02482, allocations: 3.938 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.02534, allocations: 371.4 kB / 381.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.02539, allocations: 23.84 kB / 381.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.02543, allocations: 4 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.02558, allocations: 4 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.02561, allocations: 16.05 kB / 381.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.02562, allocations: 0 / 381.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.02583, allocations: 173.2 kB / 381.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02583, allocations: 0 / 381.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000366/0.02619, allocations: 51.94 kB / 381.6 MB, free: 14.12 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 0.0001424/0.02634, allocations: 103.2 kB / 381.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.02671, allocations: 129.9 kB / 381.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02671, allocations: 4.062 kB / 381.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.02682, allocations: 51.91 kB / 381.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.02738, allocations: 53.97 kB / 381.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.02847, allocations: 0.5491 MB / 382.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.02869, allocations: 158.8 kB / 382.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.02879, allocations: 26.3 kB / 382.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.02886, allocations: 24.48 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02886, allocations: 0 / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.006815/0.03568, allocations: 2.282 MB / 385 MB, free: 10.74 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.888445089920424]