Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.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.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 111.8 kB / 16.62 MB, free: 6.812 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.002397/0.002398, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.572/1.572, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.199/1.199, allocations: 119.3 MB / 410.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 0.4904 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6804, allocations: 80.68 MB / 0.5692 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003707/0.6842, allocations: 1.628 MB / 0.5708 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.6857, allocations: 0.8788 MB / 0.5717 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.6858, allocations: 0 / 0.5717 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005628/0.6915, allocations: 6.88 MB / 0.5784 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.6948, allocations: 3.509 MB / 0.5818 GB, free: 36.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.6953, allocations: 92.02 kB / 0.5819 GB, free: 36.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007877/0.7032, allocations: 8.587 MB / 0.5903 GB, free: 28.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.7033, allocations: 4 kB / 0.5903 GB, free: 28.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007265/0.7106, allocations: 4.266 MB / 0.5945 GB, free: 23.99 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009158/0.7198, allocations: 8.096 MB / 0.6024 GB, free: 15.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003734/0.7235, allocations: 0.4922 MB / 0.6029 GB, free: 15.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.7262, allocations: 0.5234 MB / 0.6034 GB, free: 14.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01692/0.7432, allocations: 19.91 MB / 0.6228 GB, free: 10.9 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02067/0.7639, allocations: 11.26 MB / 0.6338 GB, free: 15.52 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03904/0.8029, allocations: 24.26 MB / 0.6575 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.803, allocations: 8 kB / 0.6575 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.695e-06/0.803, allocations: 0 / 0.6575 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001199/0.8042, allocations: 0 / 0.6575 GB, free: 7.125 MB / 0.4983 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.06502/0.8693, allocations: 38.76 MB / 0.6954 GB, free: 15.96 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.8694, allocations: 15.89 kB / 0.6954 GB, free: 15.95 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008635/0.878, allocations: 4.403 MB / 0.6997 GB, free: 11.49 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1423/1.02, allocations: 51.59 MB / 0.75 GB, free: 7.551 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/1.02, allocations: 4.375 kB / 0.7501 GB, free: 7.547 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/1.02, allocations: 12.06 kB / 0.7501 GB, free: 7.535 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/1.021, allocations: 45.67 kB / 0.7501 GB, free: 7.484 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.021, allocations: 3.984 kB / 0.7501 GB, free: 7.48 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/1.021, allocations: 4 kB / 0.7501 GB, free: 7.477 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.021, allocations: 0 / 0.7501 GB, free: 7.477 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/1.021, allocations: 19.92 kB / 0.7501 GB, free: 7.457 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7298/1.751, allocations: 13.73 MB / 0.7635 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/1.751, allocations: 53.36 kB / 0.7636 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/1.751, allocations: 22.2 kB / 0.7636 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/1.751, allocations: 1.094 kB / 0.7636 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/1.751, allocations: 69.75 kB / 0.7637 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.855e-06/1.751, allocations: 0 / 0.7637 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01079/1.762, allocations: 4.607 MB / 0.7682 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.762, allocations: 51.41 kB / 0.7682 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1105/1.873, allocations: 50.58 MB / 0.8176 GB, free: 108.8 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/1.873, allocations: 25.7 kB / 0.8177 GB, free: 108.8 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02497/1.898, allocations: 23.57 MB / 0.8407 GB, free: 85.19 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/1.898, allocations: 17.92 kB / 0.8407 GB, free: 85.18 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.898, allocations: 20.53 kB / 0.8407 GB, free: 85.16 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/1.898, allocations: 313 kB / 0.841 GB, free: 84.85 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/1.898, allocations: 15.98 kB / 0.841 GB, free: 84.83 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/1.898, allocations: 32.75 kB / 0.8411 GB, free: 84.8 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.297e-05/1.898, allocations: 38.56 kB / 0.8411 GB, free: 84.75 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.898, allocations: 9.438 kB / 0.8411 GB, free: 84.75 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.008386/1.907, allocations: 4.596 MB / 0.8456 GB, free: 82.59 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.907, allocations: 4 kB / 0.8456 GB, free: 82.59 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.907, allocations: 0 / 0.8456 GB, free: 82.59 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.907, allocations: 4 kB / 0.8456 GB, free: 82.58 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/1.907, allocations: 8.875 kB / 0.8456 GB, free: 82.57 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.907, allocations: 0 / 0.8456 GB, free: 82.57 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/1.918, allocations: 134.9 kB / 0.8457 GB, free: 82.45 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/1.918, allocations: 6.531 kB / 0.8457 GB, free: 82.44 MB / 0.5923 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01723/1.935, allocations: 9.399 MB / 0.8549 GB, free: 73.02 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01269/1.948, allocations: 4.648 MB / 0.8595 GB, free: 68.32 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/1.963, allocations: 5.121 MB / 0.8645 GB, free: 63.19 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.963, allocations: 3.5 kB / 0.8645 GB, free: 63.19 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.963, allocations: 0 / 0.8645 GB, free: 63.19 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.963, allocations: 10.92 kB / 0.8645 GB, free: 63.18 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04447/2.008, allocations: 15.08 MB / 0.8792 GB, free: 48.04 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/2.008, allocations: 0 / 0.8792 GB, free: 48.04 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/2.008, allocations: 4 kB / 0.8792 GB, free: 48.04 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/2.008, allocations: 0 / 0.8792 GB, free: 48.04 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/2.008, allocations: 0 / 0.8792 GB, free: 48.04 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/2.008, allocations: 4 kB / 0.8792 GB, free: 48.03 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/2.008, allocations: 0 / 0.8792 GB, free: 48.03 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008409/2.016, allocations: 5.039 MB / 0.8841 GB, free: 42.91 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009562/2.026, allocations: 3.508 MB / 0.8876 GB, free: 39.33 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006058/2.032, allocations: 127.9 kB / 0.8877 GB, free: 39.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006152/2.038, allocations: 128 kB / 0.8878 GB, free: 39.08 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/2.038, allocations: 14.94 kB / 0.8878 GB, free: 39.07 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/2.038, allocations: 0 / 0.8878 GB, free: 39.07 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06529/2.104, allocations: 35 MB / 0.922 GB, free: 4.367 MB / 0.5923 GB Notification: Performance of sort global known variables: time 7.02e-07/2.104, allocations: 0 / 0.922 GB, free: 4.367 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.007352/2.111, allocations: 1.243 MB / 0.9232 GB, free: 3.125 MB / 0.5923 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001073/2.112, allocations: 405.1 kB / 0.9236 GB, free: 2.91 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002669/2.113, allocations: 46.92 kB / 0.9236 GB, free: 2.867 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.113, allocations: 4 kB / 0.9236 GB, free: 2.863 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/2.113, allocations: 15.98 kB / 0.9237 GB, free: 2.848 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02654/2.139, allocations: 3.398 MB / 0.927 GB, free: 15.45 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1504/2.29, allocations: 79.42 MB / 1.005 GB, free: 460 kB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3806/2.67, allocations: 17.33 MB / 1.021 GB, free: 204.5 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.03967/2.71, allocations: 11.33 MB / 1.033 GB, free: 201.7 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01268/2.723, allocations: 4.413 MB / 1.037 GB, free: 200.8 MB / 0.686 GB Notification: Performance of SimCode: time 1.123e-06/2.723, allocations: 0 / 1.037 GB, free: 200.8 MB / 0.686 GB Notification: Performance of Templates: time 0.3548/3.078, allocations: 123.3 MB / 1.157 GB, free: 110.4 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches