Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.002003/0.002002, allocations: 99.84 kB / 16.3 MB, free: 5.555 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.002454/0.002454, allocations: 183.1 kB / 17.2 MB, free: 5.488 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.595/1.595, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.387/1.387, allocations: 120.5 MB / 412.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 8 kB / 0.4942 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6762, allocations: 82.83 MB / 0.5751 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00168/0.678, allocations: 1.113 MB / 0.5761 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.6791, allocations: 0.5214 MB / 0.5767 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.6792, allocations: 1.5 kB / 0.5767 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.6798, allocations: 494.5 kB / 0.5771 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.6805, allocations: 0.524 MB / 0.5776 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.6809, allocations: 61.67 kB / 0.5777 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.6818, allocations: 0.7642 MB / 0.5784 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.6819, allocations: 2.75 kB / 0.5784 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.683, allocations: 0.5829 MB / 0.579 GB, free: 38.83 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.6844, allocations: 1.035 MB / 0.58 GB, free: 38.4 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.6845, allocations: 64.03 kB / 0.5801 GB, free: 38.4 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.6849, allocations: 136.2 kB / 0.5802 GB, free: 38.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.6877, allocations: 2.327 MB / 0.5825 GB, free: 37.33 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0007027/0.6885, allocations: 0.5196 MB / 0.583 GB, free: 36.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.6913, allocations: 2.297 MB / 0.5852 GB, free: 35.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6913, allocations: 0 / 0.5852 GB, free: 35.65 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6913, allocations: 0 / 0.5852 GB, free: 35.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.000162/0.6915, allocations: 0 / 0.5852 GB, free: 35.65 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.008489/0.7, allocations: 4.649 MB / 0.5898 GB, free: 31.23 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.7001, allocations: 8.031 kB / 0.5898 GB, free: 31.22 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.7011, allocations: 0.5551 MB / 0.5903 GB, free: 30.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.7139, allocations: 6.228 MB / 0.5964 GB, free: 24.35 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.714, allocations: 0 / 0.5964 GB, free: 24.35 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.7141, allocations: 20 kB / 0.5964 GB, free: 24.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.7145, allocations: 233.5 kB / 0.5967 GB, free: 24.1 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7145, allocations: 0 / 0.5967 GB, free: 24.1 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.7145, allocations: 20 kB / 0.5967 GB, free: 24.08 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7146, allocations: 3.953 kB / 0.5967 GB, free: 24.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.7148, allocations: 135.9 kB / 0.5968 GB, free: 23.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.7177, allocations: 1.858 MB / 0.5986 GB, free: 22.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.7179, allocations: 106.5 kB / 0.5987 GB, free: 21.92 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.7179, allocations: 3.938 kB / 0.5987 GB, free: 21.92 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.7183, allocations: 256.8 kB / 0.599 GB, free: 21.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.7183, allocations: 4 kB / 0.599 GB, free: 21.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001311/0.7196, allocations: 1.243 MB / 0.6002 GB, free: 20.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.7197, allocations: 89.06 kB / 0.6003 GB, free: 20.26 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006539/0.7262, allocations: 6.26 MB / 0.6064 GB, free: 14.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.7264, allocations: 41.7 kB / 0.6064 GB, free: 14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.7281, allocations: 2.52 MB / 0.6089 GB, free: 11.47 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.7283, allocations: 43.64 kB / 0.6089 GB, free: 11.43 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.7283, allocations: 16 kB / 0.6089 GB, free: 11.41 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.7284, allocations: 310 kB / 0.6092 GB, free: 11.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.7285, allocations: 80 kB / 0.6093 GB, free: 11.03 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/0.7286, allocations: 79.98 kB / 0.6094 GB, free: 10.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.7287, allocations: 113.7 kB / 0.6095 GB, free: 10.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7288, allocations: 0 / 0.6095 GB, free: 10.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001356/0.7301, allocations: 1.086 MB / 0.6106 GB, free: 9.727 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.7302, allocations: 37.69 kB / 0.6106 GB, free: 9.684 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7302, allocations: 0 / 0.6106 GB, free: 9.684 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.7302, allocations: 4 kB / 0.6106 GB, free: 9.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.7303, allocations: 4 kB / 0.6106 GB, free: 9.676 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7303, allocations: 0 / 0.6106 GB, free: 9.676 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.7308, allocations: 23.95 kB / 0.6106 GB, free: 9.652 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.731, allocations: 224 kB / 0.6108 GB, free: 9.434 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002068/0.7331, allocations: 1.334 MB / 0.6121 GB, free: 8.082 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.7335, allocations: 0.5708 MB / 0.6127 GB, free: 7.504 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/0.7343, allocations: 0.6481 MB / 0.6133 GB, free: 6.848 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7343, allocations: 3.938 kB / 0.6133 GB, free: 6.844 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7344, allocations: 0 / 0.6133 GB, free: 6.844 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7344, allocations: 0 / 0.6133 GB, free: 6.844 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.7359, allocations: 2.026 MB / 0.6153 GB, free: 4.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7359, allocations: 11.88 kB / 0.6153 GB, free: 4.758 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.736, allocations: 4 kB / 0.6153 GB, free: 4.754 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.736, allocations: 0 / 0.6153 GB, free: 4.754 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.736, allocations: 52 kB / 0.6154 GB, free: 4.703 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7361, allocations: 0 / 0.6154 GB, free: 4.703 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7361, allocations: 0 / 0.6154 GB, free: 4.703 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.737, allocations: 1.168 MB / 0.6165 GB, free: 3.504 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007818/0.7378, allocations: 0.564 MB / 0.6171 GB, free: 2.914 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.7381, allocations: 20 kB / 0.6171 GB, free: 2.895 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.7384, allocations: 20 kB / 0.6171 GB, free: 2.875 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.7384, allocations: 4 kB / 0.6171 GB, free: 2.871 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.7386, allocations: 224 kB / 0.6173 GB, free: 2.652 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.006878/0.7455, allocations: 4.313 MB / 0.6215 GB, free: 14.38 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7455, allocations: 0 / 0.6215 GB, free: 14.38 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001035/0.7465, allocations: 192 kB / 0.6217 GB, free: 14.19 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 (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.0002728/0.7468, allocations: 137.8 kB / 0.6219 GB, free: 14.05 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.7474, allocations: 287.4 kB / 0.6221 GB, free: 13.76 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7474, allocations: 0 / 0.6221 GB, free: 13.76 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.7477, allocations: 187.4 kB / 0.6223 GB, free: 13.56 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.7487, allocations: 427.3 kB / 0.6227 GB, free: 13.14 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.7633, allocations: 8.93 MB / 0.6314 GB, free: 4.184 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.7663, allocations: 2.822 MB / 0.6342 GB, free: 1.336 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003039/0.7693, allocations: 1.145 MB / 0.6353 GB, free: 188 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.7697, allocations: 255.5 kB / 0.6356 GB, free: 15.93 MB / 494.3 MB Notification: Performance of SimCode: time 1.413e-06/0.7697, allocations: 0 / 0.6356 GB, free: 15.93 MB / 494.3 MB Notification: Performance of Templates: time 0.05671/0.8264, allocations: 20.32 MB / 0.6554 GB, free: 11.48 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches