Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009964/0.0009965, allocations: 94.72 kB / 16.3 MB, free: 6.074 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.001035/0.001035, allocations: 184.5 kB / 17.2 MB, free: 5.973 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.293/1.293, allocations: 223.2 MB / 241.1 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7783/0.7783, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 8 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 82.85 MB / 0.5751 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.001631/0.1528, allocations: 1.255 MB / 0.5763 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1539, allocations: 0.8114 MB / 0.5771 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.154, allocations: 0 / 0.5771 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.1564, allocations: 3.828 MB / 0.5808 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.1578, allocations: 1.97 MB / 0.5827 GB, free: 260 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1581, allocations: 87.77 kB / 0.5828 GB, free: 172 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.4586/0.6166, allocations: 2.987 MB / 0.5857 GB, free: 14.12 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.6168, allocations: 7.969 kB / 0.5857 GB, free: 14.12 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006332/0.6231, allocations: 2.246 MB / 0.5879 GB, free: 14.12 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.6342, allocations: 4.091 MB / 0.5919 GB, free: 13.96 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.6356, allocations: 253.4 kB / 0.5922 GB, free: 13.96 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.6362, allocations: 279.7 kB / 0.5924 GB, free: 13.96 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.009539/0.6458, allocations: 9.286 MB / 0.6015 GB, free: 10.21 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00253/0.6483, allocations: 1.994 MB / 0.6035 GB, free: 8.688 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008496/0.6568, allocations: 9.041 MB / 0.6123 GB, free: 3.547 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6569, allocations: 0 / 0.6123 GB, free: 3.547 MB / 446.3 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6569, allocations: 0 / 0.6123 GB, free: 3.547 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0006156/0.6575, allocations: 4 kB / 0.6123 GB, free: 3.543 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.02219/0.6797, allocations: 17.49 MB / 0.6294 GB, free: 1.867 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6797, allocations: 12.03 kB / 0.6294 GB, free: 1.855 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.6831, allocations: 2.21 MB / 0.6315 GB, free: 15.61 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05666/0.7398, allocations: 24.68 MB / 0.6556 GB, free: 6.77 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.7398, allocations: 3.75 kB / 0.6556 GB, free: 6.77 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.7399, allocations: 6.406 kB / 0.6556 GB, free: 6.766 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.74, allocations: 49.61 kB / 0.6557 GB, free: 6.711 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.7401, allocations: 0 / 0.6557 GB, free: 6.711 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.7401, allocations: 8 kB / 0.6557 GB, free: 6.703 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.7401, allocations: 3.953 kB / 0.6557 GB, free: 6.699 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.7402, allocations: 11.98 kB / 0.6557 GB, free: 6.688 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.753, allocations: 6.946 MB / 0.6625 GB, free: 15.69 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.7534, allocations: 53.14 kB / 0.6626 GB, free: 15.63 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.7534, allocations: 0 / 0.6626 GB, free: 15.63 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.7537, allocations: 76.3 kB / 0.6626 GB, free: 15.55 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.7537, allocations: 0 / 0.6626 GB, free: 15.55 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.003728/0.7574, allocations: 2.343 MB / 0.6649 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.7575, allocations: 55.41 kB / 0.665 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04564/0.8031, allocations: 25.3 MB / 0.6897 GB, free: 4.008 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.8032, allocations: 25.7 kB / 0.6897 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01364/0.8168, allocations: 11.34 MB / 0.7008 GB, free: 8.625 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.8169, allocations: 31.64 kB / 0.7008 GB, free: 8.598 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.8169, allocations: 0 / 0.7008 GB, free: 8.598 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.817, allocations: 306 kB / 0.7011 GB, free: 8.293 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.8171, allocations: 19.92 kB / 0.7011 GB, free: 8.273 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.8172, allocations: 29.72 kB / 0.7011 GB, free: 8.238 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.8173, allocations: 19.34 kB / 0.7012 GB, free: 8.223 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8173, allocations: 0 / 0.7012 GB, free: 8.223 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004354/0.8216, allocations: 2.339 MB / 0.7034 GB, free: 5.848 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8217, allocations: 5.719 kB / 0.7035 GB, free: 5.844 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8217, allocations: 0 / 0.7035 GB, free: 5.844 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8217, allocations: 0 / 0.7035 GB, free: 5.844 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.8218, allocations: 12 kB / 0.7035 GB, free: 5.832 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.8218, allocations: 3.984 kB / 0.7035 GB, free: 5.828 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.8246, allocations: 71.95 kB / 0.7035 GB, free: 5.758 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.8246, allocations: 4 kB / 0.7035 GB, free: 5.754 MB / 0.5295 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 () * 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.009497/0.8341, allocations: 4.751 MB / 0.7082 GB, free: 0.9883 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00575/0.8399, allocations: 2.334 MB / 0.7105 GB, free: 14.62 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008001/0.8479, allocations: 2.565 MB / 0.713 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.848, allocations: 5.25 kB / 0.713 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.848, allocations: 0.75 kB / 0.713 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.848, allocations: 0 / 0.713 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.8675, allocations: 7.622 MB / 0.7204 GB, free: 4.379 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.8675, allocations: 0 / 0.7204 GB, free: 4.379 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.8676, allocations: 4 kB / 0.7204 GB, free: 4.375 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.8676, allocations: 4.25 kB / 0.7204 GB, free: 4.371 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.8676, allocations: 0 / 0.7204 GB, free: 4.371 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8677, allocations: 8 kB / 0.7204 GB, free: 4.363 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8677, allocations: 0 / 0.7204 GB, free: 4.363 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/0.8723, allocations: 2.575 MB / 0.7229 GB, free: 1.742 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005144/0.8775, allocations: 1.98 MB / 0.7249 GB, free: 15.71 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/0.8796, allocations: 65.75 kB / 0.7249 GB, free: 15.65 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.8817, allocations: 71.98 kB / 0.725 GB, free: 15.58 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.8817, allocations: 0.6562 kB / 0.725 GB, free: 15.58 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.8818, allocations: 8 kB / 0.725 GB, free: 15.57 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.03139/0.9132, allocations: 17.45 MB / 0.7421 GB, free: 14.27 MB / 0.5764 GB Notification: Performance of sort global known variables: time 7.12e-07/0.9132, allocations: 0 / 0.7421 GB, free: 14.27 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.003233/0.9164, allocations: 0.625 MB / 0.7427 GB, free: 13.65 MB / 0.5764 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 (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.0009945/0.9175, allocations: 414.9 kB / 0.7431 GB, free: 13.4 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.9177, allocations: 43.91 kB / 0.7431 GB, free: 13.36 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9177, allocations: 0 / 0.7431 GB, free: 13.36 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.9178, allocations: 28.05 kB / 0.7431 GB, free: 13.33 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/0.9227, allocations: 1.653 MB / 0.7447 GB, free: 11.68 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06739/0.9901, allocations: 36.86 MB / 0.7807 GB, free: 6.77 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01651/1.007, allocations: 9.292 MB / 0.7898 GB, free: 13.44 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.01929/1.026, allocations: 5.662 MB / 0.7953 GB, free: 7.762 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006039/1.032, allocations: 2.213 MB / 0.7975 GB, free: 5.547 MB / 0.6233 GB Notification: Performance of SimCode: time 1.653e-06/1.032, allocations: 0 / 0.7975 GB, free: 5.547 MB / 0.6233 GB Notification: Performance of Templates: time 0.6771/1.709, allocations: 59.72 MB / 0.8558 GB, free: 197.3 MB / 0.6548 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches