Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.001531/0.001531, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001399/0.001399, allocations: 170 kB / 23.95 MB, free: 0.6133 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 0.9421/0.9421, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6493/0.6493, allocations: 88.07 MB / 348.7 MB, free: 14.39 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.523 GB, free: 4.098 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.601e-05, allocations: 2.281 kB / 0.523 GB, free: 4.094 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002991/0.003017, allocations: 1.405 MB / 0.5243 GB, free: 2.68 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.004, allocations: 0.5569 MB / 0.5249 GB, free: 2.117 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.004066, allocations: 0 / 0.5249 GB, free: 2.117 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.004271, allocations: 19.91 kB / 0.5249 GB, free: 2.098 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.004625, allocations: 71.78 kB / 0.525 GB, free: 2.027 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.004904, allocations: 78.86 kB / 0.525 GB, free: 1.953 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.005041, allocations: 95.78 kB / 0.5251 GB, free: 1.859 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.005081, allocations: 8 kB / 0.5251 GB, free: 1.852 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.005257, allocations: 55.83 kB / 0.5252 GB, free: 1.797 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.005383, allocations: 51.88 kB / 0.5252 GB, free: 1.746 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.005404, allocations: 4 kB / 0.5252 GB, free: 1.742 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.005516, allocations: 79.86 kB / 0.5253 GB, free: 1.664 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.005616, allocations: 63.81 kB / 0.5254 GB, free: 1.602 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.005663, allocations: 23.94 kB / 0.5254 GB, free: 1.578 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.005873, allocations: 167.4 kB / 0.5256 GB, free: 1.414 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.005878, allocations: 0 / 0.5256 GB, free: 1.414 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.00588, allocations: 0 / 0.5256 GB, free: 1.414 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005885, allocations: 0 / 0.5256 GB, free: 1.414 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004926/0.006378, allocations: 403 kB / 0.526 GB, free: 0.9844 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006421, allocations: 12.03 kB / 0.526 GB, free: 0.9727 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.006452, allocations: 30.75 kB / 0.526 GB, free: 0.9336 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.006521, allocations: 24.8 kB / 0.526 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.006966, allocations: 256.8 kB / 0.5263 GB, free: 0.6289 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.006978, allocations: 4.375 kB / 0.5263 GB, free: 0.625 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.006989, allocations: 4.359 kB / 0.5263 GB, free: 0.6211 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.007114, allocations: 83.94 kB / 0.5264 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.007121, allocations: 192 / 0.5264 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.007132, allocations: 8.125 kB / 0.5264 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.007137, allocations: 3.938 kB / 0.5264 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.00734, allocations: 53.62 kB / 0.5264 GB, free: 468 kB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.007509, allocations: 168.7 kB / 0.5266 GB, free: 256 kB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/0.00758, allocations: 64.27 kB / 0.5266 GB, free: 176 kB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.007631, allocations: 54.56 kB / 0.5267 GB, free: 112 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.007641, allocations: 0 / 0.5267 GB, free: 112 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.007813, allocations: 134.8 kB / 0.5268 GB, free: 15.95 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.007815, allocations: 0 / 0.5268 GB, free: 15.95 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002984/0.008113, allocations: 238.8 kB / 0.527 GB, free: 15.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.008161, allocations: 81.11 kB / 0.5271 GB, free: 15.6 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.00833, allocations: 229.5 kB / 0.5273 GB, free: 15.37 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.008346, allocations: 25.7 kB / 0.5274 GB, free: 15.34 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.008412, allocations: 120.1 kB / 0.5275 GB, free: 15.21 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.008454, allocations: 23.84 kB / 0.5275 GB, free: 15.19 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.008498, allocations: 21.72 kB / 0.5275 GB, free: 15.16 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.008613, allocations: 338.8 kB / 0.5278 GB, free: 14.82 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.008657, allocations: 41.7 kB / 0.5279 GB, free: 14.78 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.008695, allocations: 53.69 kB / 0.5279 GB, free: 14.72 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.008799, allocations: 120.2 kB / 0.5281 GB, free: 14.59 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.008802, allocations: 0 / 0.5281 GB, free: 14.59 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001818/0.008984, allocations: 188.8 kB / 0.5282 GB, free: 14.38 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.009031, allocations: 37.7 kB / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.009039, allocations: 3.938 kB / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.009056, allocations: 0 / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.009142, allocations: 4 kB / 0.5283 GB, free: 14.33 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.009152, allocations: 8 kB / 0.5283 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.009211, allocations: 11.88 kB / 0.5283 GB, free: 14.31 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.009232, allocations: 8 kB / 0.5283 GB, free: 14.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001217/0.009354, allocations: 173.5 kB / 0.5285 GB, free: 14.12 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.009372, allocations: 19.91 kB / 0.5285 GB, free: 14.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.009406, allocations: 29.33 kB / 0.5285 GB, free: 14.08 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.009409, allocations: 0 / 0.5285 GB, free: 14.08 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.009416, allocations: 0 / 0.5285 GB, free: 14.08 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.009421, allocations: 0 / 0.5285 GB, free: 14.08 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.009554, allocations: 172.7 kB / 0.5287 GB, free: 13.87 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.009555, allocations: 4 kB / 0.5287 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.009569, allocations: 0 / 0.5287 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.009573, allocations: 4 kB / 0.5287 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.009587, allocations: 7.922 kB / 0.5287 GB, free: 13.85 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.009589, allocations: 4 kB / 0.5287 GB, free: 13.85 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.009592, allocations: 4 kB / 0.5287 GB, free: 13.84 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.009801, allocations: 244.5 kB / 0.5289 GB, free: 13.57 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.009839, allocations: 15.91 kB / 0.5289 GB, free: 13.56 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.009863, allocations: 11.94 kB / 0.529 GB, free: 13.55 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.009897, allocations: 7.984 kB / 0.529 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.009933, allocations: 192 / 0.529 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.009945, allocations: 12 kB / 0.529 GB, free: 13.53 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01005, allocations: 176.5 kB / 0.5291 GB, free: 13.36 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0 / 0.5291 GB, free: 13.36 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001787/0.01023, allocations: 35.94 kB / 0.5292 GB, free: 13.32 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0004296/0.01066, allocations: 0.7952 MB / 0.53 GB, free: 12.48 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.01083, allocations: 178.7 kB / 0.5301 GB, free: 12.29 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01083, allocations: 0 / 0.5301 GB, free: 12.29 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.01089, allocations: 117.1 kB / 0.5302 GB, free: 12.15 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01107, allocations: 27.48 kB / 0.5303 GB, free: 12.12 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.01271, allocations: 2.11 MB / 0.5323 GB, free: 9.883 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.007e-05/0.01279, allocations: 114.7 kB / 0.5324 GB, free: 9.75 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 5.728e-05/0.01285, allocations: 21.72 kB / 0.5325 GB, free: 9.73 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.0129, allocations: 48.47 kB / 0.5325 GB, free: 9.684 MB / 458.8 MB Notification: Performance of SimCode: time 3.91e-07/0.0129, allocations: 4 kB / 0.5325 GB, free: 9.68 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.02993, allocations: 4.217 MB / 0.5366 GB, free: 5.59 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.431, allocations: 3.938 kB / 0.5366 GB, free: 5.586 MB / 458.8 MB " [Timeout remaining time 292] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.28432104177773]