Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 90.56 kB / 16.3 MB, free: 5.996 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.001326/0.001326, allocations: 186.9 kB / 17.2 MB, free: 5.91 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.43/1.43, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.035/1.035, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.000311, allocations: 8 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 82.84 MB / 0.5751 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002003/0.2008, allocations: 1.259 MB / 0.5763 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2021, allocations: 0.8153 MB / 0.5771 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.2022, allocations: 0 / 0.5771 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2036, allocations: 1.927 MB / 0.579 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009062/0.2046, allocations: 1.026 MB / 0.58 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.2049, allocations: 87.77 kB / 0.58 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.2062, allocations: 1.529 MB / 0.5815 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.2062, allocations: 4 kB / 0.5815 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009576/0.2072, allocations: 1.147 MB / 0.5827 GB, free: 336 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.6557/0.8629, allocations: 2.054 MB / 0.5847 GB, free: 12.41 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.8634, allocations: 130.3 kB / 0.5848 GB, free: 12.41 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.8639, allocations: 149.2 kB / 0.5849 GB, free: 12.41 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007318/0.8712, allocations: 4.656 MB / 0.5895 GB, free: 11.96 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.873, allocations: 1.012 MB / 0.5905 GB, free: 11.55 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.8802, allocations: 4.552 MB / 0.5949 GB, free: 10.49 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.8803, allocations: 0 / 0.5949 GB, free: 10.49 MB / 446.3 MB Notification: Performance of FrontEnd: time 2.946e-06/0.8803, allocations: 4 kB / 0.5949 GB, free: 10.49 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.00034/0.8806, allocations: 1.406 kB / 0.5949 GB, free: 10.49 MB / 446.3 MB 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.02243/0.9031, allocations: 8.928 MB / 0.6036 GB, free: 4.77 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.9031, allocations: 12.5 kB / 0.6037 GB, free: 4.77 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004087/0.9072, allocations: 1.115 MB / 0.6047 GB, free: 4.137 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03986/0.9471, allocations: 12.39 MB / 0.6168 GB, free: 13.71 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.9472, allocations: 3.062 kB / 0.6168 GB, free: 13.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.9472, allocations: 1.375 kB / 0.6168 GB, free: 13.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.9474, allocations: 55.23 kB / 0.6169 GB, free: 13.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9475, allocations: 0 / 0.6169 GB, free: 13.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.9475, allocations: 4 kB / 0.6169 GB, free: 13.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.9475, allocations: 1.375 kB / 0.6169 GB, free: 13.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.34e-05/0.9476, allocations: 16.02 kB / 0.6169 GB, free: 13.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.9603, allocations: 3.554 MB / 0.6204 GB, free: 10.56 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.9607, allocations: 51.83 kB / 0.6204 GB, free: 10.5 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.9607, allocations: 8.078 kB / 0.6204 GB, free: 10.5 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.961, allocations: 64.41 kB / 0.6205 GB, free: 10.42 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 3.316e-06/0.961, allocations: 4 kB / 0.6205 GB, free: 10.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.003315/0.9643, allocations: 1.213 MB / 0.6217 GB, free: 9.184 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.9644, allocations: 55.41 kB / 0.6217 GB, free: 9.117 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02999/0.9944, allocations: 12.72 MB / 0.6342 GB, free: 12.5 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.9945, allocations: 29.7 kB / 0.6342 GB, free: 12.46 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.009158/1.004, allocations: 5.482 MB / 0.6395 GB, free: 6.98 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.004, allocations: 17.7 kB / 0.6396 GB, free: 6.965 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/1.004, allocations: 2.078 kB / 0.6396 GB, free: 6.965 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 0.0001647/1.004, allocations: 313.9 kB / 0.6399 GB, free: 6.652 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/1.004, allocations: 15.98 kB / 0.6399 GB, free: 6.637 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/1.004, allocations: 21.72 kB / 0.6399 GB, free: 6.609 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/1.004, allocations: 23.98 kB / 0.6399 GB, free: 6.586 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.004, allocations: 0 / 0.6399 GB, free: 6.586 MB / 478.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003856/1.008, allocations: 1.206 MB / 0.6411 GB, free: 5.359 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.008, allocations: 8 kB / 0.6411 GB, free: 5.352 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.008, allocations: 0 / 0.6411 GB, free: 5.352 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.008, allocations: 0 / 0.6411 GB, free: 5.352 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/1.008, allocations: 13.7 kB / 0.6411 GB, free: 5.34 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/1.008, allocations: 4 kB / 0.6411 GB, free: 5.336 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.01, allocations: 35.95 kB / 0.6412 GB, free: 5.301 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.01, allocations: 8.031 kB / 0.6412 GB, free: 5.293 MB / 478.3 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007018/1.017, allocations: 2.437 MB / 0.6435 GB, free: 2.844 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002751/1.02, allocations: 1.165 MB / 0.6447 GB, free: 1.664 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/1.024, allocations: 1.288 MB / 0.6459 GB, free: 380 kB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.024, allocations: 3.125 kB / 0.6459 GB, free: 380 kB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.024, allocations: 3 kB / 0.6459 GB, free: 380 kB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.024, allocations: 5.797 kB / 0.646 GB, free: 376 kB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/1.032, allocations: 3.898 MB / 0.6498 GB, free: 12.43 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.032, allocations: 0 / 0.6498 GB, free: 12.43 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/1.032, allocations: 11.94 kB / 0.6498 GB, free: 12.41 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.032, allocations: 0 / 0.6498 GB, free: 12.41 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.032, allocations: 0 / 0.6498 GB, free: 12.41 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/1.032, allocations: 4 kB / 0.6498 GB, free: 12.41 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.032, allocations: 0 / 0.6498 GB, free: 12.41 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/1.035, allocations: 1.336 MB / 0.6511 GB, free: 11.04 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.038, allocations: 1.033 MB / 0.6521 GB, free: 9.977 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005485/1.038, allocations: 32 kB / 0.6521 GB, free: 9.945 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/1.039, allocations: 44 kB / 0.6522 GB, free: 9.902 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/1.039, allocations: 3.984 kB / 0.6522 GB, free: 9.898 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/1.039, allocations: 4 kB / 0.6522 GB, free: 9.895 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.02073/1.06, allocations: 8.728 MB / 0.6607 GB, free: 1.246 MB / 494.3 MB Notification: Performance of sort global known variables: time 6.01e-07/1.06, allocations: 0 / 0.6607 GB, free: 1.246 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.003401/1.063, allocations: 332 kB / 0.661 GB, free: 0.9219 MB / 494.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: 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 (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.001183/1.064, allocations: 419.3 kB / 0.6614 GB, free: 0.6797 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.000213/1.065, allocations: 39.98 kB / 0.6614 GB, free: 0.6406 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.065, allocations: 0 / 0.6614 GB, free: 0.6406 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/1.065, allocations: 23.98 kB / 0.6615 GB, free: 0.6172 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.068, allocations: 0.8369 MB / 0.6623 GB, free: 15.78 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03125/1.099, allocations: 18.15 MB / 0.68 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006141/1.105, allocations: 4.988 MB / 0.6849 GB, free: 8.586 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.009032/1.114, allocations: 2.843 MB / 0.6877 GB, free: 5.73 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/1.117, allocations: 1.112 MB / 0.6887 GB, free: 4.617 MB / 0.5139 GB Notification: Performance of SimCode: time 1.363e-06/1.117, allocations: 0 / 0.6887 GB, free: 4.617 MB / 0.5139 GB Notification: Performance of Templates: time 0.09772/1.215, allocations: 29.83 MB / 0.7179 GB, free: 6.793 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches