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.001911/0.001911, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002072/0.002072, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3078/0.3078, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.1.|table.y.2.",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.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/3.023e-05, allocations: 2.312 kB / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002968/0.002998, allocations: 1.515 MB / 370.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004001, allocations: 494.6 kB / 370.9 MB, free: 9.348 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.004044, allocations: 0 / 370.9 MB, free: 9.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.004255, allocations: 31.78 kB / 370.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.00453, allocations: 71.62 kB / 371 MB, free: 9.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.004771, allocations: 83.64 kB / 371 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.004932, allocations: 75.81 kB / 371.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.004964, allocations: 192 / 371.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.005153, allocations: 43.84 kB / 371.2 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.005228, allocations: 27.78 kB / 371.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.005247, allocations: 4 kB / 371.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.005431, allocations: 83.88 kB / 371.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.00549, allocations: 19.92 kB / 371.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.005522, allocations: 11.94 kB / 371.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.005799, allocations: 155.5 kB / 371.5 MB, free: 8.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005802, allocations: 0 / 371.5 MB, free: 8.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005803, allocations: 0 / 371.5 MB, free: 8.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005807, allocations: 4 kB / 371.5 MB, free: 8.75 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.0008346/0.006642, allocations: 431.6 kB / 371.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.006683, allocations: 15.98 kB / 371.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.006739, allocations: 8.891 kB / 371.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.006974, allocations: 136.5 kB / 372 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.006988, allocations: 4.375 kB / 372 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.007002, allocations: 4.375 kB / 372 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.007158, allocations: 91.27 kB / 372.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.007166, allocations: 192 / 372.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.00718, allocations: 7.938 kB / 372.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.007183, allocations: 4 kB / 372.1 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.987e-05/0.007243, allocations: 11.98 kB / 372.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.007663, allocations: 287.8 kB / 372.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.007779, allocations: 50.92 kB / 372.5 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.007806, allocations: 11.75 kB / 372.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.007832, allocations: 4 kB / 372.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.007864, allocations: 33.39 kB / 372.5 MB, free: 7.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.007864, allocations: 0 / 372.5 MB, free: 7.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001857/0.00805, allocations: 57.58 kB / 372.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.008118, allocations: 81.11 kB / 372.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.00837, allocations: 220.5 kB / 372.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.00839, allocations: 25.7 kB / 372.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.008504, allocations: 142.9 kB / 373.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.008531, allocations: 19.83 kB / 373.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.008576, allocations: 23.38 kB / 373.1 MB, free: 6.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.008849, allocations: 0.4884 MB / 373.6 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.008866, allocations: 3.984 kB / 373.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.008921, allocations: 53.27 kB / 373.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.008961, allocations: 19.77 kB / 373.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008962, allocations: 0 / 373.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.214e-05/0.009054, allocations: 57.59 kB / 373.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.009071, allocations: 8 kB / 373.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.009074, allocations: 0 / 373.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.009095, allocations: 0 / 373.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.009146, allocations: 4 kB / 373.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.009154, allocations: 3.984 kB / 373.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.009182, allocations: 7.953 kB / 373.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.009191, allocations: 4 kB / 373.7 MB, free: 6.227 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 0.0001106/0.009301, allocations: 152.6 kB / 373.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.009339, allocations: 11.89 kB / 373.9 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.009469, allocations: 65.97 kB / 374 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.009471, allocations: 0 / 374 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.009478, allocations: 4 kB / 374 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.009482, allocations: 3.984 kB / 374 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.009668, allocations: 136.6 kB / 374.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.009669, allocations: 0 / 374.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.009699, allocations: 7.938 kB / 374.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.0097, allocations: 0 / 374.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.009706, allocations: 0 / 374.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.009707, allocations: 0 / 374.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009708, allocations: 0 / 374.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.009891, allocations: 195.9 kB / 374.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.009916, allocations: 19.88 kB / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.009931, allocations: 0 / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.009984, allocations: 7.938 kB / 374.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.01, allocations: 4 kB / 374.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.01001, allocations: 3.938 kB / 374.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.01014, allocations: 159.2 kB / 374.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01014, allocations: 0 / 374.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000269/0.01041, allocations: 35.86 kB / 374.5 MB, free: 5.359 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.002772/0.01318, allocations: 475.8 kB / 375 MB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.0133, allocations: 31.66 kB / 375 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0133, allocations: 0 / 375 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.01333, allocations: 19.62 kB / 375 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01365, allocations: 23.92 kB / 375.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.01401, allocations: 154 kB / 375.2 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.0141, allocations: 79.33 kB / 375.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.01416, allocations: 15.97 kB / 375.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.0142, allocations: 20.48 kB / 375.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0142, allocations: 0 / 375.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of Templates: time 0.005142/0.01934, allocations: 1.656 MB / 377 MB, free: 3.055 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.779175879084505]