Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009679/0.000968, allocations: 186.4 kB / 8.141 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.102/1.102, allocations: 221.4 MB / 229.9 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 103 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5905/0.5905, allocations: 120.4 MB / 452 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.531e-06, allocations: 0 / 0.5282 GB, free: 52.34 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 82.85 MB / 0.6091 GB, free: 3.438 MB / 426.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5768, allocations: 128.4 MB / 0.7345 GB, free: 1.328 MB / 0.495 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001299/0.5769, allocations: 51.3 kB / 0.7346 GB, free: 1.305 MB / 0.495 GB Notification: Performance of FrontEnd: time 0.2486/0.8256, allocations: 67.95 MB / 0.8009 GB, free: 0.6094 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 0.0006843/0.8263, allocations: 124 kB / 0.801 GB, free: 500 kB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.009407/0.8357, allocations: 6.461 MB / 0.8074 GB, free: 10.45 MB / 0.5731 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8358, allocations: 8.031 kB / 0.8074 GB, free: 10.44 MB / 0.5731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.8376, allocations: 1.106 MB / 0.8084 GB, free: 9.316 MB / 0.5731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02163/0.8592, allocations: 11.36 MB / 0.8195 GB, free: 15.2 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.8593, allocations: 3.984 kB / 0.8195 GB, free: 15.2 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.8593, allocations: 4 kB / 0.8195 GB, free: 15.19 MB / 0.5888 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.284e-05/0.8594, allocations: 11.69 kB / 0.8196 GB, free: 15.18 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/0.8595, allocations: 52.97 kB / 0.8196 GB, free: 15.13 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.8595, allocations: 0 / 0.8196 GB, free: 15.13 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8595, allocations: 0.9375 kB / 0.8196 GB, free: 15.13 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8595, allocations: 8 kB / 0.8196 GB, free: 15.12 MB / 0.5888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.8653, allocations: 3.461 MB / 0.823 GB, free: 12.61 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.8654, allocations: 53.12 kB / 0.823 GB, free: 12.56 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.8655, allocations: 16.73 kB / 0.8231 GB, free: 12.55 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.8655, allocations: 0 / 0.8231 GB, free: 12.55 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.493e-05/0.8656, allocations: 67.31 kB / 0.8231 GB, free: 12.48 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.8656, allocations: 0 / 0.8231 GB, free: 12.48 MB / 0.5888 GB Notification: Performance of matching and sorting (n=5): time 0.001673/0.8673, allocations: 1.162 MB / 0.8243 GB, free: 11.3 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.8673, allocations: 55.34 kB / 0.8243 GB, free: 11.23 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01479/0.8821, allocations: 10.26 MB / 0.8343 GB, free: 3.055 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.8822, allocations: 25.7 kB / 0.8344 GB, free: 3.023 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.8836, allocations: 1.562 MB / 0.8359 GB, free: 1.949 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.8837, allocations: 11.75 kB / 0.8359 GB, free: 1.938 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.8837, allocations: 0 / 0.8359 GB, free: 1.938 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.8838, allocations: 317.9 kB / 0.8362 GB, free: 1.625 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.8838, allocations: 11.86 kB / 0.8362 GB, free: 1.617 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.8839, allocations: 29.58 kB / 0.8362 GB, free: 1.586 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.8839, allocations: 15.56 kB / 0.8362 GB, free: 1.578 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8839, allocations: 0 / 0.8362 GB, free: 1.578 MB / 0.5888 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001461/0.8854, allocations: 1.178 MB / 0.8374 GB, free: 396 kB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8854, allocations: 8 kB / 0.8374 GB, free: 388 kB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8854, allocations: 4.031 kB / 0.8374 GB, free: 384 kB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8854, allocations: 0 / 0.8374 GB, free: 384 kB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.8855, allocations: 8 kB / 0.8374 GB, free: 376 kB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.8856, allocations: 0 / 0.8374 GB, free: 376 kB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.8864, allocations: 4 kB / 0.8374 GB, free: 372 kB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.8864, allocations: 7.984 kB / 0.8374 GB, free: 364 kB / 0.5888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.8865, allocations: 108.8 kB / 0.8375 GB, free: 252 kB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008452/0.8873, allocations: 1.106 MB / 0.8386 GB, free: 15.12 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.8897, allocations: 1.356 MB / 0.8399 GB, free: 14 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8897, allocations: 0 / 0.8399 GB, free: 14 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8897, allocations: 4 kB / 0.8399 GB, free: 14 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8897, allocations: 0 / 0.8399 GB, free: 14 MB / 0.6044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.8934, allocations: 3.781 MB / 0.8436 GB, free: 11.17 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8935, allocations: 0 / 0.8436 GB, free: 11.17 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.8935, allocations: 4 kB / 0.8436 GB, free: 11.17 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8935, allocations: 0 / 0.8436 GB, free: 11.17 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.8936, allocations: 4.188 kB / 0.8436 GB, free: 11.16 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8936, allocations: 4 kB / 0.8436 GB, free: 11.16 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8936, allocations: 0 / 0.8436 GB, free: 11.16 MB / 0.6044 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001162/0.8947, allocations: 1.27 MB / 0.8449 GB, free: 9.871 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.896, allocations: 1.037 MB / 0.8459 GB, free: 8.805 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/0.8965, allocations: 3.938 kB / 0.8459 GB, free: 8.801 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.8972, allocations: 0 / 0.8459 GB, free: 8.801 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.8972, allocations: 4 kB / 0.8459 GB, free: 8.797 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.8972, allocations: 7.859 kB / 0.8459 GB, free: 8.793 MB / 0.6044 GB Notification: Performance of sort global known variables: time 0.01153/0.9088, allocations: 8.027 MB / 0.8537 GB, free: 2.566 MB / 0.6044 GB Notification: Performance of remove unused functions: time 0.001475/0.9103, allocations: 275.9 kB / 0.854 GB, free: 2.297 MB / 0.6044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006963/0.911, allocations: 300.9 kB / 0.8543 GB, free: 2.07 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.9112, allocations: 39.75 kB / 0.8543 GB, free: 2.039 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9112, allocations: 0 / 0.8543 GB, free: 2.039 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.9112, allocations: 23.55 kB / 0.8544 GB, free: 2.023 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.913, allocations: 0.8088 MB / 0.8551 GB, free: 1.703 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06395/0.977, allocations: 13.98 MB / 0.8688 GB, free: 4.211 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007375/0.9844, allocations: 6.559 MB / 0.8752 GB, free: 14.17 MB / 0.6356 GB Notification: Performance of SimCode: time 7.82e-07/0.9844, allocations: 0 / 0.8752 GB, free: 14.17 MB / 0.6356 GB Notification: Performance of Templates: time 0.08655/1.071, allocations: 26.77 MB / 0.9013 GB, free: 3.422 MB / 0.6513 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches