Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json 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/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/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 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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 16.92 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.001711, allocations: 191.4 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.415/1.415, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7079, allocations: 80.68 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003005/0.711, allocations: 1.419 MB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.7121, allocations: 0.5682 MB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.7122, allocations: 5.375 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.7126, allocations: 448.5 kB / 0.5721 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.7133, allocations: 493.7 kB / 0.5726 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.7136, allocations: 81.45 kB / 0.5727 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.7147, allocations: 1.117 MB / 0.5737 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.7148, allocations: 7.016 kB / 0.5738 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.7155, allocations: 0.5675 MB / 0.5743 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.7169, allocations: 1.036 MB / 0.5753 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.7171, allocations: 66 kB / 0.5754 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.7174, allocations: 142.9 kB / 0.5755 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00266/0.7201, allocations: 2.496 MB / 0.578 GB, free: 38.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.7212, allocations: 1.422 MB / 0.5793 GB, free: 37.6 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.7243, allocations: 3.104 MB / 0.5824 GB, free: 35.64 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.7244, allocations: 0 / 0.5824 GB, free: 35.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7244, allocations: 1.094 kB / 0.5824 GB, free: 35.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001123/0.7245, allocations: 0 / 0.5824 GB, free: 35.64 MB / 462.3 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.008978/0.7335, allocations: 5.173 MB / 0.5874 GB, free: 31.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.7336, allocations: 8.031 kB / 0.5874 GB, free: 31.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.7344, allocations: 0.5561 MB / 0.588 GB, free: 30.85 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009522/0.7439, allocations: 6.527 MB / 0.5944 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.744, allocations: 384 / 0.5944 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.744, allocations: 24.38 kB / 0.5944 GB, free: 24.22 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.7444, allocations: 249.7 kB / 0.5946 GB, free: 23.97 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7444, allocations: 0 / 0.5946 GB, free: 23.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.7444, allocations: 16 kB / 0.5946 GB, free: 23.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.7444, allocations: 0 / 0.5946 GB, free: 23.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.7446, allocations: 128 kB / 0.5947 GB, free: 23.83 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.7467, allocations: 1.858 MB / 0.5966 GB, free: 21.92 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.7469, allocations: 106.5 kB / 0.5967 GB, free: 21.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.747, allocations: 92.89 kB / 0.5968 GB, free: 21.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7471, allocations: 3.938 kB / 0.5968 GB, free: 21.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.7474, allocations: 256.8 kB / 0.597 GB, free: 21.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.7474, allocations: 0 / 0.597 GB, free: 21.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001276/0.7487, allocations: 1.168 MB / 0.5981 GB, free: 20.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.7487, allocations: 81.11 kB / 0.5982 GB, free: 20.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005804/0.7545, allocations: 6.275 MB / 0.6043 GB, free: 13.93 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.7546, allocations: 45.7 kB / 0.6044 GB, free: 13.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.7563, allocations: 2.52 MB / 0.6069 GB, free: 11.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.7564, allocations: 39.89 kB / 0.6069 GB, free: 11.31 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.7565, allocations: 133.7 kB / 0.607 GB, free: 11.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.7566, allocations: 310 kB / 0.6073 GB, free: 10.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.7567, allocations: 83.92 kB / 0.6074 GB, free: 10.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.7568, allocations: 76 kB / 0.6075 GB, free: 10.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.7571, allocations: 228.2 kB / 0.6077 GB, free: 10.47 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7571, allocations: 4 kB / 0.6077 GB, free: 10.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001168/0.7583, allocations: 1.09 MB / 0.6088 GB, free: 9.359 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.7583, allocations: 41.69 kB / 0.6088 GB, free: 9.312 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7583, allocations: 0 / 0.6088 GB, free: 9.312 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7584, allocations: 0 / 0.6088 GB, free: 9.312 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.7585, allocations: 4 kB / 0.6088 GB, free: 9.309 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.7585, allocations: 0 / 0.6088 GB, free: 9.309 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.7589, allocations: 20 kB / 0.6088 GB, free: 9.289 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.7591, allocations: 228.1 kB / 0.609 GB, free: 9.066 MB / 462.3 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.001713/0.7608, allocations: 1.338 MB / 0.6103 GB, free: 7.711 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.7612, allocations: 0.5746 MB / 0.6109 GB, free: 7.129 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.7618, allocations: 0.6441 MB / 0.6115 GB, free: 6.477 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7618, allocations: 4 kB / 0.6115 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.7618, allocations: 4 kB / 0.6115 GB, free: 6.469 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7618, allocations: 0 / 0.6115 GB, free: 6.469 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.7633, allocations: 2.022 MB / 0.6135 GB, free: 4.398 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7633, allocations: 144 / 0.6135 GB, free: 4.398 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.7634, allocations: 11.88 kB / 0.6135 GB, free: 4.387 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7634, allocations: 3.984 kB / 0.6135 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.7635, allocations: 48 kB / 0.6136 GB, free: 4.336 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.7635, allocations: 7.984 kB / 0.6136 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7635, allocations: 0 / 0.6136 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.7646, allocations: 1.164 MB / 0.6147 GB, free: 3.133 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006853/0.7653, allocations: 0.564 MB / 0.6153 GB, free: 2.543 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.7656, allocations: 20 kB / 0.6153 GB, free: 2.523 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.7659, allocations: 16 kB / 0.6153 GB, free: 2.508 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.766, allocations: 8 kB / 0.6153 GB, free: 2.5 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.7662, allocations: 231.9 kB / 0.6155 GB, free: 2.273 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.007218/0.7734, allocations: 4.324 MB / 0.6198 GB, free: 13.99 MB / 478.3 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7734, allocations: 0 / 0.6198 GB, free: 13.99 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001416/0.7748, allocations: 184 kB / 0.6199 GB, free: 13.81 MB / 478.3 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.0003409/0.7752, allocations: 154.9 kB / 0.6201 GB, free: 13.65 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.7758, allocations: 279.3 kB / 0.6203 GB, free: 13.37 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7758, allocations: 0 / 0.6203 GB, free: 13.37 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.776, allocations: 187.4 kB / 0.6205 GB, free: 13.17 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.7778, allocations: 447.7 kB / 0.6209 GB, free: 12.73 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.7962, allocations: 8.497 MB / 0.6292 GB, free: 4.207 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004548/0.8008, allocations: 2.728 MB / 0.6319 GB, free: 1.453 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.004105/0.8049, allocations: 1.188 MB / 0.6331 GB, free: 260 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/0.8055, allocations: 259.4 kB / 0.6333 GB, free: 0 / 478.3 MB Notification: Performance of SimCode: time 9.22e-07/0.8055, allocations: 0 / 0.6333 GB, free: 0 / 478.3 MB Notification: Performance of Templates: time 0.06385/0.8693, allocations: 20.69 MB / 0.6535 GB, free: 11.2 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches