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.0008508/0.0008508, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00416/0.00416, allocations: 163.9 kB / 24.7 MB, free: 9.406 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 0.8297/0.8297, allocations: 177.1 MB / 205 MB, free: 5.715 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.1971/0.1971, allocations: 29.41 MB / 290.8 MB, free: 2.434 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=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.463e-06/1.463e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.608e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003876/0.003903, allocations: 3.995 MB / 435.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.00487, allocations: 0.8412 MB / 436.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.005013, allocations: 15.88 kB / 436.3 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.005189, allocations: 47.56 kB / 436.4 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.005796, allocations: 170.8 kB / 436.5 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.005978, allocations: 91.8 kB / 436.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.006308, allocations: 414.3 kB / 437 MB, free: 7.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.006484, allocations: 70.69 kB / 437.1 MB, free: 7.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.006788, allocations: 255.1 kB / 437.4 MB, free: 7.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.007003, allocations: 159.5 kB / 437.5 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.007033, allocations: 20 kB / 437.5 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.859e-05/0.007062, allocations: 24 kB / 437.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.007138, allocations: 87.72 kB / 437.6 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.007218, allocations: 103.7 kB / 437.7 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.007485, allocations: 279.1 kB / 438 MB, free: 6.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.007489, allocations: 4 kB / 438 MB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007491, allocations: 0 / 438 MB, free: 6.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.007496, allocations: 0 / 438 MB, free: 6.496 MB / 410.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.0007206/0.008216, allocations: 0.5255 MB / 438.5 MB, free: 5.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.008256, allocations: 19.92 kB / 438.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.008308, allocations: 32.75 kB / 438.6 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.008677, allocations: 277 kB / 438.9 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.008693, allocations: 16.88 kB / 438.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.11e-05/0.008784, allocations: 32.73 kB / 438.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.009073, allocations: 295 kB / 439.2 MB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.009085, allocations: 4 kB / 439.2 MB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.009102, allocations: 8 kB / 439.2 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.009109, allocations: 8 kB / 439.2 MB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.009313, allocations: 187.5 kB / 439.4 MB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.0103, allocations: 1.145 MB / 440.6 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.01052, allocations: 119.8 kB / 440.7 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.01058, allocations: 50.62 kB / 440.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.01059, allocations: 4 kB / 440.7 MB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.01062, allocations: 42.5 kB / 440.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.01062, allocations: 0 / 440.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007035/0.01132, allocations: 467.7 kB / 441.2 MB, free: 3.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.01138, allocations: 106.9 kB / 441.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01155, allocations: 249.8 kB / 441.6 MB, free: 2.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.01156, allocations: 25.7 kB / 441.6 MB, free: 2.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01166, allocations: 200.1 kB / 441.8 MB, free: 2.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.0117, allocations: 39.69 kB / 441.8 MB, free: 2.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.01175, allocations: 53.84 kB / 441.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.01184, allocations: 334.8 kB / 442.2 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.01189, allocations: 39.98 kB / 442.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.01198, allocations: 130.2 kB / 442.4 MB, free: 1.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01214, allocations: 195.7 kB / 442.6 MB, free: 1.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.01214, allocations: 0 / 442.6 MB, free: 1.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002673/0.01241, allocations: 230.3 kB / 442.8 MB, free: 1.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01243, allocations: 8 kB / 442.8 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01243, allocations: 4 kB / 442.8 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.866e-05/0.01253, allocations: 28.84 kB / 442.8 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.0127, allocations: 59.89 kB / 442.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.01271, allocations: 4.547 kB / 442.9 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.01278, allocations: 19.86 kB / 442.9 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01279, allocations: 8 kB / 442.9 MB, free: 1.203 MB / 410.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.0001079/0.01289, allocations: 153.9 kB / 443.1 MB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.01293, allocations: 27.84 kB / 443.1 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.01313, allocations: 147.3 kB / 443.2 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01313, allocations: 0 / 443.2 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01314, allocations: 0 / 443.2 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01314, allocations: 7.984 kB / 443.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.0136, allocations: 201.2 kB / 443.4 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0136, allocations: 0 / 443.4 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.0137, allocations: 27.98 kB / 443.5 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.0137, allocations: 8 kB / 443.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.01371, allocations: 0 / 443.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01371, allocations: 3.938 kB / 443.5 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01372, allocations: 7.984 kB / 443.5 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.01399, allocations: 363.4 kB / 443.8 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.01401, allocations: 23.89 kB / 443.9 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.01403, allocations: 0 / 443.9 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.0141, allocations: 7.938 kB / 443.9 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.01412, allocations: 11.98 kB / 443.9 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.01413, allocations: 7.984 kB / 443.9 MB, free: 152 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1546/0.1687, allocations: 163.9 kB / 444.1 MB, free: 54.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1687, allocations: 3.375 kB / 444.1 MB, free: 54.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.1691, allocations: 46.22 kB / 444.1 MB, free: 54.39 MB / 410.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 9.307e-05/0.1691, allocations: 104.6 kB / 444.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.1694, allocations: 119.4 kB / 444.3 MB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1694, allocations: 1.125 kB / 444.3 MB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.1695, allocations: 53.61 kB / 444.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1698, allocations: 65.05 kB / 444.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.1705, allocations: 0.5588 MB / 445 MB, free: 54.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.1705, allocations: 164 kB / 445.2 MB, free: 53.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.1706, allocations: 27.03 kB / 445.2 MB, free: 53.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1706, allocations: 0 / 445.2 MB, free: 53.93 MB / 410.7 MB Notification: Performance of Templates: time 0.003175/0.1738, allocations: 3.654 MB / 448.8 MB, free: 53.71 MB / 410.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.6329604629427195]