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.001387/0.001387, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.001454/0.001454, allocations: 164.3 kB / 24.82 MB, free: 8.938 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.147/1.147, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.301/0.301, allocations: 29.42 MB / 291.2 MB, free: 2.477 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 3.105e-06/3.105e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.979e-05/4.29e-05, allocations: 2.312 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006132/0.006175, allocations: 3.919 MB / 374 MB, free: 6.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.007897, allocations: 0.8413 MB / 374.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.008203, allocations: 15.88 kB / 374.9 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.008495, allocations: 43.58 kB / 374.9 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.009135, allocations: 174.9 kB / 375.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.009399, allocations: 83.81 kB / 375.2 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.009837, allocations: 414.3 kB / 375.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.01006, allocations: 66.7 kB / 375.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.01061, allocations: 275.2 kB / 375.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.01088, allocations: 143.5 kB / 376.1 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.01093, allocations: 24 kB / 376.1 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.01097, allocations: 20 kB / 376.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.01107, allocations: 91.72 kB / 376.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.01118, allocations: 91.77 kB / 376.3 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.01151, allocations: 203.2 kB / 376.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.01152, allocations: 4 kB / 376.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01152, allocations: 0 / 376.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.01153, allocations: 0 / 376.5 MB, free: 4.285 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.0008872/0.01242, allocations: 0.6176 MB / 377.1 MB, free: 3.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.01249, allocations: 11.98 kB / 377.1 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.01259, allocations: 48.7 kB / 377.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.01299, allocations: 275.4 kB / 377.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01302, allocations: 24.86 kB / 377.5 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.01319, allocations: 28.75 kB / 377.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.01351, allocations: 245.5 kB / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01353, allocations: 0 / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.01355, allocations: 16 kB / 377.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01356, allocations: 4 kB / 377.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.01369, allocations: 83.8 kB / 377.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01498, allocations: 1.467 MB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.01525, allocations: 129.2 kB / 379.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.01529, allocations: 35.11 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01532, allocations: 8 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.01536, allocations: 41.33 kB / 379.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.01536, allocations: 0 / 379.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006813/0.01604, allocations: 309.2 kB / 379.8 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.01611, allocations: 106.8 kB / 379.9 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.01632, allocations: 296 kB / 380.2 MB, free: 244 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01634, allocations: 29.95 kB / 380.2 MB, free: 208 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.0165, allocations: 242.9 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.01653, allocations: 35.62 kB / 380.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.0166, allocations: 55.3 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.01677, allocations: 0.504 MB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.01681, allocations: 27.91 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01693, allocations: 155.4 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.01711, allocations: 195.3 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01711, allocations: 0 / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003125/0.01742, allocations: 192.8 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.01745, allocations: 11.98 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.01746, allocations: 4 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.01756, allocations: 27.67 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.01776, allocations: 59.89 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.01777, allocations: 4.406 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.01784, allocations: 15.94 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01785, allocations: 7.938 kB / 381.8 MB, free: 14.53 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.0001515/0.018, allocations: 176.4 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.01806, allocations: 27.86 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.01829, allocations: 114.9 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01829, allocations: 4 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.0183, allocations: 0 / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.0183, allocations: 0 / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01855, allocations: 173.1 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01855, allocations: 8 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.01865, allocations: 27.92 kB / 382.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01866, allocations: 0 / 382.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01867, allocations: 8 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01867, allocations: 0 / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01868, allocations: 4 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.01902, allocations: 418.5 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.01905, allocations: 23.78 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01908, allocations: 11.94 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.01915, allocations: 0 / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.01918, allocations: 16.02 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.01919, allocations: 7.984 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.01929, allocations: 193.1 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01929, allocations: 0 / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.0196, allocations: 48 kB / 383 MB, free: 13.23 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.0001672/0.01977, allocations: 95.25 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.02003, allocations: 111.3 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02003, allocations: 4.062 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.02009, allocations: 39.61 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.0206, allocations: 67.47 kB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.0219, allocations: 0.5555 MB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.702e-05/0.02199, allocations: 92.3 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.02209, allocations: 30.28 kB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.02224, allocations: 114.2 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02224, allocations: 0 / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Templates: time 0.006053/0.02829, allocations: 2.469 MB / 386.6 MB, free: 9.641 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.3875799076631665]