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.002151/0.002151, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001963/0.001963, allocations: 161.3 kB / 24.27 MB, free: 152 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.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.3203/0.3203, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.503e-06/1.503e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.811e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006609/0.006647, allocations: 4.162 MB / 373 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.008441, allocations: 0.8569 MB / 373.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.008607, allocations: 11.88 kB / 373.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.00881, allocations: 47.5 kB / 374 MB, free: 6.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.009323, allocations: 174.9 kB / 374.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.009543, allocations: 83.81 kB / 374.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.0103, allocations: 406.4 kB / 374.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.01049, allocations: 78.64 kB / 374.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.01096, allocations: 255.1 kB / 374.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.01129, allocations: 163.5 kB / 375.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.01134, allocations: 20 kB / 375.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.0114, allocations: 20 kB / 375.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.01153, allocations: 91.72 kB / 375.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.01168, allocations: 91.75 kB / 375.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.01213, allocations: 291 kB / 375.6 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01214, allocations: 4 kB / 375.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01214, allocations: 0 / 375.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.01215, allocations: 0 / 375.6 MB, free: 4.551 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.001186/0.01333, allocations: 0.6407 MB / 376.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.01337, allocations: 11.98 kB / 376.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.01349, allocations: 56.7 kB / 376.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.0141, allocations: 283.9 kB / 376.6 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.01413, allocations: 16.88 kB / 376.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.01429, allocations: 44.67 kB / 376.6 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.01476, allocations: 281.6 kB / 376.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01478, allocations: 0 / 376.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.0148, allocations: 12 kB / 376.9 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.01481, allocations: 4 kB / 376.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.01509, allocations: 119.8 kB / 377.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.01706, allocations: 1.526 MB / 378.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.0174, allocations: 149.2 kB / 378.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.0175, allocations: 55.11 kB / 378.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.01752, allocations: 0 / 378.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.01757, allocations: 49.3 kB / 378.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.01757, allocations: 0 / 378.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001059/0.01863, allocations: 488.1 kB / 379.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.01872, allocations: 106.8 kB / 379.4 MB, free: 432 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.01907, allocations: 336.2 kB / 379.7 MB, free: 80 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.0191, allocations: 33.7 kB / 379.8 MB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.01931, allocations: 246.9 kB / 380 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.01937, allocations: 51.56 kB / 380.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.01946, allocations: 51.36 kB / 380.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.01976, allocations: 0.5118 MB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.01985, allocations: 40.23 kB / 380.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.02006, allocations: 181.8 kB / 380.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.02038, allocations: 235.3 kB / 381.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.02038, allocations: 0 / 381.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004737/0.02086, allocations: 244.8 kB / 381.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.02087, allocations: 4.406 kB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.02088, allocations: 8 kB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.02102, allocations: 31.67 kB / 381.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.02171, allocations: 67.88 kB / 381.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.02173, allocations: 4 kB / 381.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.02185, allocations: 8 kB / 381.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.02187, allocations: 8 kB / 381.4 MB, free: 14.21 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.0001772/0.02204, allocations: 184.5 kB / 381.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.02212, allocations: 27.84 kB / 381.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.02241, allocations: 150.8 kB / 381.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.02242, allocations: 4 kB / 381.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.02242, allocations: 4 kB / 381.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02243, allocations: 3.938 kB / 381.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.02284, allocations: 248.5 kB / 382.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02284, allocations: 0 / 382.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.02301, allocations: 27.98 kB / 382.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02301, allocations: 0 / 382.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.02303, allocations: 0 / 382.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.02303, allocations: 4 kB / 382.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.02303, allocations: 7.938 kB / 382.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.02355, allocations: 470.3 kB / 382.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.02361, allocations: 27.8 kB / 382.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.02365, allocations: 8 kB / 382.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.02379, allocations: 0 / 382.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.02382, allocations: 7.984 kB / 382.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.02383, allocations: 8 kB / 382.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.02406, allocations: 225.1 kB / 382.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02406, allocations: 0 / 382.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003512/0.02441, allocations: 44 kB / 382.9 MB, free: 12.73 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.0001414/0.02455, allocations: 103.2 kB / 383 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.02492, allocations: 143.8 kB / 383.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.02493, allocations: 4 kB / 383.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.02504, allocations: 63.48 kB / 383.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.02559, allocations: 60.48 kB / 383.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02662, allocations: 0.5406 MB / 383.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.0268, allocations: 166.7 kB / 383.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.02691, allocations: 30.27 kB / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.02698, allocations: 24.5 kB / 384 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02698, allocations: 0 / 384 MB, free: 11.52 MB / 362.7 MB Notification: Performance of Templates: time 0.006849/0.03383, allocations: 2.288 MB / 386.3 MB, free: 9.289 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","/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.719733795966022]