Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.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.001067/0.001067, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.002622, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0009311/0.0009311, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002238, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.058/1.058, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1121/1.17, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1179/0.1179, allocations: 24.14 MB / 268.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1557/0.2736, allocations: 7.763 MB / 276.1 MB, free: 0.8398 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/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(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 277.5 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.286e-05, allocations: 3.188 kB / 277.5 MB, free: 84 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.008592/0.008625, allocations: 6.605 MB / 284.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.01385, allocations: 2.518 MB / 286.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.01524, allocations: 30.72 kB / 286.7 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007212/0.01597, allocations: 179.8 kB / 286.8 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000744/0.01671, allocations: 195.2 kB / 287 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.01776, allocations: 344.2 kB / 287.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.01897, allocations: 0.7179 MB / 288.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007548/0.01973, allocations: 244 kB / 288.3 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.0209, allocations: 437.4 kB / 288.8 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.02114, allocations: 172.4 kB / 288.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.02121, allocations: 43.22 kB / 289 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.02145, allocations: 83.3 kB / 289 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.02159, allocations: 114.2 kB / 289.2 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.02174, allocations: 128.8 kB / 289.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.02241, allocations: 436.3 kB / 289.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.238e-05/0.02243, allocations: 4 kB / 289.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.02244, allocations: 1.469 kB / 289.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.02246, allocations: 0 / 289.7 MB, free: 8.289 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00138/0.02384, allocations: 1.027 MB / 290.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.02388, allocations: 10.69 kB / 290.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.0242, allocations: 179.9 kB / 290.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.02474, allocations: 397.8 kB / 291.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.02478, allocations: 28.94 kB / 291.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.02481, allocations: 42.62 kB / 291.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.02541, allocations: 0.7023 MB / 292.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.02542, allocations: 4.031 kB / 292.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.02545, allocations: 16.12 kB / 292.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.02546, allocations: 9.625 kB / 292.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.02562, allocations: 91.53 kB / 292.2 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.02674, allocations: 0.6669 MB / 292.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.02706, allocations: 101.2 kB / 293 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.02711, allocations: 29.52 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.02714, allocations: 6.891 kB / 293 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.02718, allocations: 41.44 kB / 293 MB, free: 5.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.915e-06/0.02718, allocations: 0 / 293 MB, free: 5.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002809/0.02746, allocations: 112.7 kB / 293.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.02751, allocations: 83.67 kB / 293.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.02796, allocations: 0.5208 MB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.02799, allocations: 33.45 kB / 293.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.02815, allocations: 249.8 kB / 294 MB, free: 4.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.02817, allocations: 44.84 kB / 294.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.02825, allocations: 53.23 kB / 294.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.02838, allocations: 364.7 kB / 294.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.02843, allocations: 16.11 kB / 294.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.02866, allocations: 460.2 kB / 295 MB, free: 3.992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.02878, allocations: 60.45 kB / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.02878, allocations: 3.984 kB / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002145/0.029, allocations: 119.2 kB / 295.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.02902, allocations: 6.281 kB / 295.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02903, allocations: 5.281 kB / 295.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.02904, allocations: 1.219 kB / 295.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.0292, allocations: 37.88 kB / 295.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.0292, allocations: 1.688 kB / 295.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.02936, allocations: 37.36 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.02937, allocations: 2.781 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001327/0.0295, allocations: 132.3 kB / 295.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.02957, allocations: 40.98 kB / 295.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.02978, allocations: 120.2 kB / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02978, allocations: 1.25 kB / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02979, allocations: 1.469 kB / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02979, allocations: 0 / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.03017, allocations: 244.3 kB / 295.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.03017, allocations: 1.188 kB / 295.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.03028, allocations: 34.59 kB / 295.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.03041, allocations: 77.12 kB / 295.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.03041, allocations: 1.406 kB / 295.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.03042, allocations: 1.75 kB / 295.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.03042, allocations: 0 / 295.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.03043, allocations: 1.75 kB / 295.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.03065, allocations: 275.2 kB / 296.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.03069, allocations: 7.156 kB / 296.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.03083, allocations: 26.34 kB / 296.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.03087, allocations: 20.56 kB / 296.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.03088, allocations: 0.9688 kB / 296.2 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.03114, allocations: 268.8 kB / 296.4 MB, free: 3 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03114, allocations: 0 / 296.4 MB, free: 3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.03144, allocations: 103.2 kB / 296.6 MB, free: 2.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.001129/0.03257, allocations: 484.5 kB / 297 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.0328, allocations: 67.59 kB / 297.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/0.03283, allocations: 7.938 kB / 297.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.033, allocations: 57.16 kB / 297.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.03386, allocations: 1.113 MB / 298.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.03518, allocations: 0.8604 MB / 299.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.03527, allocations: 127.3 kB / 299.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.03545, allocations: 57.36 kB / 299.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.03575, allocations: 186.8 kB / 299.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.03575, allocations: 2.188 kB / 299.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of Templates: time 0.01197/0.04772, allocations: 7.523 MB / 307 MB, free: 9.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.sim & (cd run_cvode && ../BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_dassl.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_dassl.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_dassl.sim & (cd run_dassl && ../BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_dassl.pipe 2>&1) [Timeout 240] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_gbode.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_gbode.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_gbode.sim & (cd run_gbode && ../BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_gbode.pipe 2>&1) [Timeout 240] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_ida.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_ida.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_ida.sim & (cd run_ida && ../BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.463639637455344]