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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002394/0.002394, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2125/0.2125, allocations: 38.51 MB / 342.5 MB, free: 8.082 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 61.58 kB / 478.6 MB, free: 33.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1503, allocations: 61.26 MB / 0.5272 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003159/0.1534, allocations: 1.405 MB / 0.5286 GB, free: 8 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.1542, allocations: 367.3 kB / 0.5289 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.1542, allocations: 0 / 0.5289 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1545, allocations: 23.86 kB / 0.5289 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1547, allocations: 39.83 kB / 0.529 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1549, allocations: 79.34 kB / 0.5291 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1551, allocations: 55.89 kB / 0.5291 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1551, allocations: 288 / 0.5291 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.1553, allocations: 39.84 kB / 0.5291 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.1554, allocations: 27.84 kB / 0.5292 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1554, allocations: 0 / 0.5292 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1555, allocations: 43.98 kB / 0.5292 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.1555, allocations: 19.92 kB / 0.5292 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.1556, allocations: 23.86 kB / 0.5293 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1558, allocations: 87.66 kB / 0.5293 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1558, allocations: 3.938 kB / 0.5293 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1558, allocations: 0 / 0.5293 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1558, allocations: 4 kB / 0.5293 GB, free: 15.21 MB / 398.1 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.0005074/0.1563, allocations: 386.9 kB / 0.5297 GB, free: 14.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1564, allocations: 15.89 kB / 0.5297 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.1564, allocations: 30.75 kB / 0.5298 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1564, allocations: 8.891 kB / 0.5298 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1567, allocations: 192.3 kB / 0.53 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1567, allocations: 4.375 kB / 0.53 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.1567, allocations: 384 / 0.53 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1569, allocations: 67.28 kB / 0.53 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1569, allocations: 0 / 0.53 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1569, allocations: 7.984 kB / 0.53 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1569, allocations: 4 kB / 0.53 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.1569, allocations: 15.98 kB / 0.53 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.1574, allocations: 284.8 kB / 0.5303 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1575, allocations: 38.5 kB / 0.5304 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.1575, allocations: 12.92 kB / 0.5304 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1576, allocations: 4 kB / 0.5304 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1576, allocations: 34.55 kB / 0.5304 GB, free: 13.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1576, allocations: 0 / 0.5304 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002035/0.1578, allocations: 53.64 kB / 0.5305 GB, free: 13.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.1579, allocations: 85.05 kB / 0.5305 GB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.158, allocations: 143.9 kB / 0.5307 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1581, allocations: 25.7 kB / 0.5307 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.1581, allocations: 100.1 kB / 0.5308 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1581, allocations: 11.91 kB / 0.5308 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.1582, allocations: 13.72 kB / 0.5308 GB, free: 13.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1583, allocations: 322.8 kB / 0.5311 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.1583, allocations: 4 kB / 0.5311 GB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.1584, allocations: 21.72 kB / 0.5312 GB, free: 13.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.1584, allocations: 28.78 kB / 0.5312 GB, free: 13.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1584, allocations: 0 / 0.5312 GB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.471e-05/0.1585, allocations: 53.66 kB / 0.5312 GB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1585, allocations: 8 kB / 0.5312 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1585, allocations: 0 / 0.5312 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1585, allocations: 0 / 0.5312 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.1586, allocations: 8 kB / 0.5312 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1586, allocations: 0 / 0.5312 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.1586, allocations: 3.953 kB / 0.5313 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1586, allocations: 4 kB / 0.5313 GB, free: 13 MB / 398.1 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.0001049/0.1587, allocations: 125.7 kB / 0.5314 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1588, allocations: 4 kB / 0.5314 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1589, allocations: 57.59 kB / 0.5314 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1589, allocations: 0 / 0.5314 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1589, allocations: 3.938 kB / 0.5314 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1589, allocations: 7.984 kB / 0.5314 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1591, allocations: 173.5 kB / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1591, allocations: 4 kB / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.1591, allocations: 4.375 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1591, allocations: 0 / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1591, allocations: 0 / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1591, allocations: 0 / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1591, allocations: 4 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1593, allocations: 151.5 kB / 0.5318 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1593, allocations: 85.05 kB / 0.5318 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1593, allocations: 4 kB / 0.5319 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.1594, allocations: 0 / 0.5319 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.1594, allocations: 0 / 0.5319 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1594, allocations: 4 kB / 0.5319 GB, free: 12.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1595, allocations: 114.3 kB / 0.532 GB, free: 12.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1595, allocations: 3.938 kB / 0.532 GB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1598, allocations: 23.88 kB / 0.532 GB, free: 12.15 MB / 398.1 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.001694/0.1615, allocations: 0.9707 MB / 0.5329 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1616, allocations: 19.98 kB / 0.533 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1616, allocations: 4 kB / 0.533 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.1616, allocations: 7.938 kB / 0.533 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.162, allocations: 15.98 kB / 0.533 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1634, allocations: 1.323 MB / 0.5343 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1637, allocations: 0.6923 MB / 0.535 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.1638, allocations: 15.97 kB / 0.535 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.1638, allocations: 23.38 kB / 0.535 GB, free: 9.105 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1638, allocations: 0 / 0.535 GB, free: 9.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1895, allocations: 2.567 MB / 0.5375 GB, free: 6.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.484, allocations: 8.688 kB / 0.5375 GB, free: 6.527 MB / 398.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.711976305115968]