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.001975/0.001975, allocations: 84.69 kB / 20.68 MB, free: 1.035 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.002316/0.002316, allocations: 165 kB / 23.96 MB, free: 4.164 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.389/1.389, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 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.1687/0.1687, allocations: 29.42 MB / 290.1 MB, free: 3.312 MB / 270.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.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,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=3703,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.442e-06/1.442e-06, allocations: 0 / 430.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.53e-05, allocations: 5.375 kB / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005564/0.005589, allocations: 4.007 MB / 434.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.007034, allocations: 0.8373 MB / 435.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.007177, allocations: 15.88 kB / 435.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.007378, allocations: 51.5 kB / 435.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.007831, allocations: 174.8 kB / 435.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.008029, allocations: 79.83 kB / 435.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.008532, allocations: 414.4 kB / 436.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.008726, allocations: 66.7 kB / 436.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.009156, allocations: 255.2 kB / 436.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.009471, allocations: 159.5 kB / 436.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.009519, allocations: 24 kB / 436.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.009572, allocations: 20 kB / 436.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.009684, allocations: 83.72 kB / 436.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.009829, allocations: 99.75 kB / 437 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.0102, allocations: 283 kB / 437.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.0102, allocations: 0 / 437.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0102, allocations: 3.938 kB / 437.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.01021, allocations: 0 / 437.3 MB, free: 11.39 MB / 366.1 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.001011/0.01122, allocations: 0.5333 MB / 437.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.01125, allocations: 8.031 kB / 437.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.01133, allocations: 36.75 kB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.01187, allocations: 273.1 kB / 438.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.01189, allocations: 16.88 kB / 438.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.01202, allocations: 32.73 kB / 438.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.01249, allocations: 295 kB / 438.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.0125, allocations: 4 kB / 438.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.01252, allocations: 8 kB / 438.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.01253, allocations: 8 kB / 438.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.01286, allocations: 187.5 kB / 438.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.01443, allocations: 1.161 MB / 439.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.01474, allocations: 115.8 kB / 439.9 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.01482, allocations: 42.62 kB / 440 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.01484, allocations: 7.938 kB / 440 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.01487, allocations: 34.56 kB / 440 MB, free: 8.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.01487, allocations: 0 / 440 MB, free: 8.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009243/0.01579, allocations: 468 kB / 440.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.01587, allocations: 110.8 kB / 440.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.01612, allocations: 241.9 kB / 440.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01615, allocations: 33.64 kB / 440.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.0163, allocations: 204 kB / 441 MB, free: 7.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.01634, allocations: 39.62 kB / 441.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.01642, allocations: 49.66 kB / 441.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01658, allocations: 330.8 kB / 441.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.01666, allocations: 43.97 kB / 441.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.01681, allocations: 126.8 kB / 441.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.01708, allocations: 191.8 kB / 441.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01708, allocations: 4 kB / 441.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000437/0.01751, allocations: 226 kB / 442 MB, free: 6.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01753, allocations: 8 kB / 442 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01754, allocations: 7.938 kB / 442 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.01767, allocations: 25.25 kB / 442.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.01801, allocations: 67.89 kB / 442.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.01802, allocations: 7.938 kB / 442.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01814, allocations: 4 kB / 442.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.01817, allocations: 15.98 kB / 442.2 MB, free: 6.102 MB / 366.1 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.0001636/0.01833, allocations: 153.7 kB / 442.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.0184, allocations: 23.84 kB / 442.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.01868, allocations: 147.4 kB / 442.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01868, allocations: 0 / 442.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.01869, allocations: 8 kB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01869, allocations: 0 / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.01901, allocations: 209.1 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01901, allocations: 0 / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.01918, allocations: 23.98 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01918, allocations: 4.094 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.0192, allocations: 15.88 kB / 442.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.0192, allocations: 7.938 kB / 442.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01921, allocations: 0 / 442.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.01964, allocations: 366.4 kB / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.01967, allocations: 23.95 kB / 443.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.01971, allocations: 4 kB / 443.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.01987, allocations: 4 kB / 443.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.01989, allocations: 7.984 kB / 443.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01991, allocations: 8 kB / 443.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.02007, allocations: 177.1 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02007, allocations: 0 / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.02042, allocations: 44 kB / 443.4 MB, free: 4.832 MB / 366.1 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.0001057/0.02052, allocations: 99.12 kB / 443.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.02084, allocations: 132.6 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02085, allocations: 0 / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.02094, allocations: 47.92 kB / 443.6 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.02145, allocations: 52.83 kB / 443.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.02236, allocations: 0.5399 MB / 444.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.02253, allocations: 162.8 kB / 444.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.233e-05/0.02262, allocations: 30.27 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.02268, allocations: 24.5 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02268, allocations: 0 / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of Templates: time 0.005916/0.0286, allocations: 2.262 MB / 446.7 MB, free: 1.477 MB / 366.1 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.521991100162268]