Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001077/0.001077, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001202/0.001202, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.138/1.138, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2285/0.2285, allocations: 29.42 MB / 291.2 MB, free: 2.445 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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.177e-05, allocations: 5.547 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.008411/0.008433, allocations: 3.745 MB / 373.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.01093, allocations: 0.8766 MB / 374.7 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.01106, allocations: 11.88 kB / 374.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.01122, allocations: 47.56 kB / 374.8 MB, free: 6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.01162, allocations: 171 kB / 375 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.01178, allocations: 79.83 kB / 375 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.01213, allocations: 390.5 kB / 375.4 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.01227, allocations: 52.77 kB / 375.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.01268, allocations: 275.2 kB / 375.7 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.01287, allocations: 127.6 kB / 375.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.0129, allocations: 19.94 kB / 375.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.01294, allocations: 16 kB / 375.9 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.01302, allocations: 87.73 kB / 376 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.01311, allocations: 79.83 kB / 376.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.01333, allocations: 179.3 kB / 376.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.01333, allocations: 4 kB / 376.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01333, allocations: 0 / 376.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.01334, allocations: 0 / 376.3 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005549/0.01389, allocations: 0.571 MB / 376.8 MB, free: 3.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.01393, allocations: 11.98 kB / 376.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.01398, allocations: 48.75 kB / 376.9 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.0143, allocations: 271.9 kB / 377.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.01432, allocations: 12.88 kB / 377.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.01435, allocations: 24.38 kB / 377.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.01453, allocations: 221.4 kB / 377.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01454, allocations: 3.984 kB / 377.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.01456, allocations: 12 kB / 377.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01456, allocations: 7.938 kB / 377.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.01464, allocations: 75.59 kB / 377.5 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.01541, allocations: 1.379 MB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.0155, allocations: 82.02 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.01552, allocations: 23.44 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.01554, allocations: 48 / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.01556, allocations: 45.38 kB / 379 MB, free: 1.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01556, allocations: 3.938 kB / 379 MB, free: 1.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003766/0.01594, allocations: 257.4 kB / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.01597, allocations: 81.11 kB / 379.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01611, allocations: 284.1 kB / 379.6 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.01612, allocations: 29.7 kB / 379.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.01622, allocations: 242.6 kB / 379.9 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.01624, allocations: 23.78 kB / 379.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.01628, allocations: 51.31 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.0164, allocations: 0.5078 MB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.01642, allocations: 15.98 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.01649, allocations: 150.4 kB / 380.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.0166, allocations: 187.2 kB / 380.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01661, allocations: 4 kB / 380.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001434/0.01675, allocations: 169.6 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.01676, allocations: 6.5 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01677, allocations: 8 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01678, allocations: 4 kB / 381 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.01686, allocations: 43.92 kB / 381.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01687, allocations: 7.984 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.01692, allocations: 7.938 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.01693, allocations: 12 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.01701, allocations: 168.5 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.01703, allocations: 23.86 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.01712, allocations: 75.45 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01712, allocations: 8 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01712, allocations: 0 / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.01712, allocations: 7.922 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.01734, allocations: 357.6 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01735, allocations: 3.984 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.0174, allocations: 16.38 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0174, allocations: 0 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.0174, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.0174, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01741, allocations: 3.938 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.01755, allocations: 275.4 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.01757, allocations: 19.89 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01758, allocations: 0 / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.01762, allocations: 4 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.01764, allocations: 7.922 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.01764, allocations: 8 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.664e-05/0.01771, allocations: 185.1 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01771, allocations: 0 / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01789, allocations: 40 kB / 382.3 MB, free: 13.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 7.156e-05/0.01797, allocations: 99.22 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.01806, allocations: 79.52 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01806, allocations: 0 / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.762e-05/0.01809, allocations: 31.59 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.01835, allocations: 56.41 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.01912, allocations: 489.7 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.692e-05/0.01917, allocations: 84.31 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.01922, allocations: 34.27 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.01931, allocations: 114.2 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01931, allocations: 0 / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003442/0.02275, allocations: 1.935 MB / 385.2 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.2736658230423927]