Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.0009689/0.0009689, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009636/0.0009636, allocations: 166.2 kB / 24.99 MB, free: 8.336 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2842/0.2842, allocations: 29.41 MB / 291.2 MB, free: 2.508 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.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 369.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.467e-05, allocations: 5.828 kB / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002819/0.002844, allocations: 1.539 MB / 371.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.003672, allocations: 490.7 kB / 371.6 MB, free: 9.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.003741, allocations: 3.938 kB / 371.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.003978, allocations: 23.8 kB / 371.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.004249, allocations: 79.61 kB / 371.7 MB, free: 9.227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.004473, allocations: 83.66 kB / 371.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.004626, allocations: 67.81 kB / 371.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.004671, allocations: 4.188 kB / 371.9 MB, free: 9.074 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.004806, allocations: 43.83 kB / 371.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.436e-05/0.00488, allocations: 23.92 kB / 371.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.004897, allocations: 0 / 371.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.005057, allocations: 91.81 kB / 372 MB, free: 8.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.005118, allocations: 19.92 kB / 372 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.005156, allocations: 19.91 kB / 372.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.005414, allocations: 135.5 kB / 372.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005417, allocations: 4 kB / 372.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005418, allocations: 0 / 372.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.005422, allocations: 0 / 372.2 MB, free: 8.742 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000469/0.005891, allocations: 424 kB / 372.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.005933, allocations: 11.98 kB / 372.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.005986, allocations: 8.891 kB / 372.6 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.006184, allocations: 141.2 kB / 372.8 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.006196, allocations: 4.375 kB / 372.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.006208, allocations: 4.375 kB / 372.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.006345, allocations: 91.27 kB / 372.9 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.006352, allocations: 4.188 kB / 372.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006363, allocations: 3.938 kB / 372.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.006371, allocations: 0 / 372.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.006415, allocations: 15.92 kB / 372.9 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.006744, allocations: 279.8 kB / 373.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.006836, allocations: 42.92 kB / 373.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.006857, allocations: 11.75 kB / 373.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.006878, allocations: 4 kB / 373.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.006903, allocations: 37.39 kB / 373.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006904, allocations: 0 / 373.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001399/0.007044, allocations: 57.58 kB / 373.3 MB, free: 7.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.007084, allocations: 81.11 kB / 373.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.007221, allocations: 213.2 kB / 373.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007234, allocations: 29.7 kB / 373.6 MB, free: 7.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.007286, allocations: 138.9 kB / 373.8 MB, free: 6.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.007306, allocations: 19.83 kB / 373.8 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.007332, allocations: 19.38 kB / 373.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007437, allocations: 0.4884 MB / 374.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.007449, allocations: 8 kB / 374.3 MB, free: 6.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.007475, allocations: 45.08 kB / 374.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.007499, allocations: 19.72 kB / 374.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007501, allocations: 4 kB / 374.4 MB, free: 6.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.728e-05/0.007558, allocations: 57.84 kB / 374.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.007569, allocations: 4 kB / 374.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007573, allocations: 0 / 374.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007585, allocations: 0 / 374.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.007637, allocations: 7.984 kB / 374.4 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.007642, allocations: 4 kB / 374.4 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.00766, allocations: 0 / 374.4 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.007668, allocations: 7.984 kB / 374.5 MB, free: 6.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.648e-05/0.007754, allocations: 160.6 kB / 374.6 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.007786, allocations: 11.89 kB / 374.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.007895, allocations: 57.97 kB / 374.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007896, allocations: 0 / 374.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.0079, allocations: 0 / 374.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.007904, allocations: 3.984 kB / 374.7 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.008051, allocations: 128.6 kB / 374.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008052, allocations: 0 / 374.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.008077, allocations: 7.938 kB / 374.8 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008079, allocations: 3.938 kB / 374.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.008085, allocations: 0 / 374.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008086, allocations: 8 kB / 374.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008087, allocations: 0 / 374.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.008206, allocations: 195.9 kB / 375 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.008223, allocations: 11.88 kB / 375 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.008237, allocations: 0 / 375 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.00829, allocations: 4 kB / 375 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.008306, allocations: 3.938 kB / 375 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.008309, allocations: 0 / 375 MB, free: 5.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.008401, allocations: 158 kB / 375.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008401, allocations: 0 / 375.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.008674, allocations: 39.86 kB / 375.2 MB, free: 5.398 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0008595/0.009533, allocations: 443.9 kB / 375.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.009621, allocations: 23.67 kB / 375.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009622, allocations: 0 / 375.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.009633, allocations: 15.69 kB / 375.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.009842, allocations: 27.84 kB / 375.7 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.0101, allocations: 161.8 kB / 375.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.01013, allocations: 59.34 kB / 375.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.01018, allocations: 15.98 kB / 376 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.0102, allocations: 16.48 kB / 376 MB, free: 4.758 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0102, allocations: 4 kB / 376 MB, free: 4.754 MB / 346.7 MB Notification: Performance of Templates: time 0.003124/0.01333, allocations: 1.643 MB / 377.6 MB, free: 3.121 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.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.2460015390533954]