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.0009999/0.0009999, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001221/0.001221, allocations: 161 kB / 24.56 MB, free: 12 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 0.9604/0.9604, allocations: 177.1 MB / 205 MB, free: 5.59 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.2249/0.2249, allocations: 29.43 MB / 290.9 MB, free: 2.512 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 1.744e-06/1.744e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.785e-05, allocations: 9.156 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005305/0.005333, allocations: 3.939 MB / 373.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.006623, allocations: 0.8452 MB / 374.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.006846, allocations: 15.88 kB / 374.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.007053, allocations: 43.56 kB / 374.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.007543, allocations: 170.9 kB / 374.7 MB, free: 5.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.007753, allocations: 91.75 kB / 374.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.008166, allocations: 410.4 kB / 375.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.008338, allocations: 66.72 kB / 375.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.00879, allocations: 279.2 kB / 375.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.009012, allocations: 139.6 kB / 375.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.009048, allocations: 20 kB / 375.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.335e-05/0.009081, allocations: 20 kB / 375.7 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.009175, allocations: 99.7 kB / 375.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.009268, allocations: 91.7 kB / 375.9 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.00954, allocations: 203.2 kB / 376.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.009545, allocations: 0 / 376.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.009546, allocations: 3.938 kB / 376.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.009554, allocations: 0 / 376.1 MB, free: 4.539 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.0007484/0.0103, allocations: 0.6176 MB / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.01034, allocations: 15.98 kB / 376.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.01042, allocations: 52.7 kB / 376.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.01075, allocations: 283.4 kB / 377 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.01077, allocations: 16.88 kB / 377 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.0109, allocations: 32.75 kB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.01123, allocations: 249.6 kB / 377.3 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.01124, allocations: 3.938 kB / 377.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.01127, allocations: 12 kB / 377.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.01128, allocations: 4 kB / 377.3 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.01144, allocations: 95.86 kB / 377.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01288, allocations: 1.464 MB / 378.9 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.01318, allocations: 129.2 kB / 379 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.01323, allocations: 47.05 kB / 379.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.01325, allocations: 4 kB / 379.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.01328, allocations: 37.39 kB / 379.1 MB, free: 1.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.364e-06/0.01328, allocations: 0 / 379.1 MB, free: 1.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000761/0.01404, allocations: 444.1 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.01409, allocations: 106.8 kB / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01427, allocations: 292.5 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.01428, allocations: 33.64 kB / 380 MB, free: 304 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01441, allocations: 254.8 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.01443, allocations: 39.64 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.01451, allocations: 47.44 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.01466, allocations: 0.504 MB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.01471, allocations: 23.98 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01481, allocations: 158.3 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01499, allocations: 199.4 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01499, allocations: 7.938 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003116/0.01531, allocations: 208.9 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01533, allocations: 4 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.01534, allocations: 7.938 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.01545, allocations: 23.67 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.01564, allocations: 63.89 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.01565, allocations: 4.406 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.01573, allocations: 19.92 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.01575, allocations: 12 kB / 381.5 MB, free: 14.58 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.0001147/0.01586, allocations: 176.5 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.0159, allocations: 23.86 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.01612, allocations: 127.3 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01613, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.01613, allocations: 4 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01614, allocations: 0 / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.01637, allocations: 212.4 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01637, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.01648, allocations: 31.98 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01648, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.0165, allocations: 11.92 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.0165, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.0165, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.01679, allocations: 426.5 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.01682, allocations: 31.75 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01684, allocations: 0 / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.01692, allocations: 11.98 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.01695, allocations: 12.02 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01696, allocations: 0 / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.01706, allocations: 201.1 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01706, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.0173, allocations: 44 kB / 382.8 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.0001186/0.01742, allocations: 110.3 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01767, allocations: 120.4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01767, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.01772, allocations: 47.59 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.01809, allocations: 51.22 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.01917, allocations: 0.5523 MB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.009e-05/0.01924, allocations: 100.2 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.404e-05/0.01933, allocations: 26.28 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.01938, allocations: 24.48 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/0.01938, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Templates: time 0.004847/0.02423, allocations: 2.402 MB / 386.2 MB, free: 9.781 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.00769022712484]