Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0008818/0.0008817, allocations: 92.19 kB / 16.65 MB, free: 6.59 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.0009133/0.0009134, allocations: 185.3 kB / 17.57 MB, free: 6.199 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.439/1.439, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.089/1.089, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003525, allocations: 12 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/0.5523, allocations: 82.83 MB / 0.5758 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001894/0.5542, allocations: 1.294 MB / 0.5771 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.5557, allocations: 0.8515 MB / 0.5779 GB, free: 39.69 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.5558, allocations: 3.938 kB / 0.5779 GB, free: 39.69 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.5573, allocations: 1.753 MB / 0.5796 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000972/0.5583, allocations: 0.9378 MB / 0.5805 GB, free: 38.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.5586, allocations: 94.33 kB / 0.5806 GB, free: 38.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5605, allocations: 2.22 MB / 0.5828 GB, free: 37.17 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.5605, allocations: 5.031 kB / 0.5828 GB, free: 37.17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.5622, allocations: 1.099 MB / 0.5839 GB, free: 36.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.5646, allocations: 1.933 MB / 0.5857 GB, free: 35.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.5649, allocations: 127.4 kB / 0.5859 GB, free: 35.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.5653, allocations: 153.6 kB / 0.586 GB, free: 35.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003194/0.5685, allocations: 4.995 MB / 0.5909 GB, free: 30.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.5709, allocations: 2.856 MB / 0.5937 GB, free: 27.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.5742, allocations: 5.975 MB / 0.5995 GB, free: 21.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5742, allocations: 0 / 0.5995 GB, free: 21.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5742, allocations: 4 kB / 0.5995 GB, free: 21.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001362/0.5744, allocations: 0 / 0.5995 GB, free: 21.92 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.007744/0.5821, allocations: 8.815 MB / 0.6081 GB, free: 12.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5822, allocations: 8.031 kB / 0.6081 GB, free: 12.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.5835, allocations: 1.107 MB / 0.6092 GB, free: 11.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.6016, allocations: 12.97 MB / 0.6219 GB, free: 14.76 MB / 478.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.6017, allocations: 384 / 0.6219 GB, free: 14.76 MB / 478.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.6017, allocations: 4.125 kB / 0.6219 GB, free: 14.76 MB / 478.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.6019, allocations: 57.67 kB / 0.6219 GB, free: 14.7 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6019, allocations: 0 / 0.6219 GB, free: 14.7 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6019, allocations: 3.938 kB / 0.6219 GB, free: 14.69 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.6019, allocations: 0 / 0.6219 GB, free: 14.69 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.602, allocations: 19.92 kB / 0.622 GB, free: 14.67 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.6069, allocations: 3.549 MB / 0.6254 GB, free: 11.08 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.6071, allocations: 54.61 kB / 0.6255 GB, free: 11.02 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.6072, allocations: 28.78 kB / 0.6255 GB, free: 10.98 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.6072, allocations: 0 / 0.6255 GB, free: 10.98 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.6074, allocations: 67.38 kB / 0.6256 GB, free: 10.91 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.6075, allocations: 0 / 0.6256 GB, free: 10.91 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.001901/0.6094, allocations: 1.221 MB / 0.6268 GB, free: 9.664 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.6094, allocations: 51.41 kB / 0.6268 GB, free: 9.602 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01919/0.6286, allocations: 12.75 MB / 0.6393 GB, free: 12.95 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.6287, allocations: 29.7 kB / 0.6393 GB, free: 12.91 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.006489/0.6352, allocations: 5.478 MB / 0.6446 GB, free: 7.43 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.6353, allocations: 7.812 kB / 0.6447 GB, free: 7.422 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.6354, allocations: 17.72 kB / 0.6447 GB, free: 7.398 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6355, allocations: 310 kB / 0.645 GB, free: 7.09 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.6357, allocations: 12 kB / 0.645 GB, free: 7.078 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.6358, allocations: 33.64 kB / 0.645 GB, free: 7.039 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.6359, allocations: 49.89 kB / 0.6451 GB, free: 6.984 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6359, allocations: 0 / 0.6451 GB, free: 6.984 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002312/0.6382, allocations: 1.217 MB / 0.6462 GB, free: 5.746 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6382, allocations: 4 kB / 0.6462 GB, free: 5.742 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6383, allocations: 0 / 0.6462 GB, free: 5.742 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6383, allocations: 4 kB / 0.6463 GB, free: 5.738 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.6384, allocations: 11.98 kB / 0.6463 GB, free: 5.727 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6384, allocations: 4.031 kB / 0.6463 GB, free: 5.723 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.6399, allocations: 36 kB / 0.6463 GB, free: 5.688 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.6399, allocations: 0 / 0.6463 GB, free: 5.688 MB / 494.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 ($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.00368/0.6436, allocations: 2.448 MB / 0.6487 GB, free: 3.23 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/0.6456, allocations: 1.169 MB / 0.6498 GB, free: 2.047 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.648, allocations: 1.285 MB / 0.6511 GB, free: 0.7578 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.648, allocations: 0 / 0.6511 GB, free: 0.7578 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.648, allocations: 0 / 0.6511 GB, free: 0.7578 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.648, allocations: 4 kB / 0.6511 GB, free: 0.7539 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005666/0.6537, allocations: 3.897 MB / 0.6549 GB, free: 12.81 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6537, allocations: 0 / 0.6549 GB, free: 12.81 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.6538, allocations: 4 kB / 0.6549 GB, free: 12.8 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.6538, allocations: 3.938 kB / 0.6549 GB, free: 12.8 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.6538, allocations: 4 kB / 0.6549 GB, free: 12.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6538, allocations: 0 / 0.6549 GB, free: 12.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6538, allocations: 0 / 0.6549 GB, free: 12.8 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.656, allocations: 1.336 MB / 0.6562 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.6577, allocations: 1.045 MB / 0.6572 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/0.6583, allocations: 32 kB / 0.6573 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.6589, allocations: 32 kB / 0.6573 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.659, allocations: 7.984 kB / 0.6573 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.659, allocations: 4.125 kB / 0.6573 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01353/0.6725, allocations: 8.76 MB / 0.6659 GB, free: 1.598 MB / 0.4983 GB Notification: Performance of sort global known variables: time 7.52e-07/0.6726, allocations: 0 / 0.6659 GB, free: 1.598 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001723/0.6743, allocations: 332 kB / 0.6662 GB, free: 1.273 MB / 0.4983 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.001046/0.6754, allocations: 424.9 kB / 0.6666 GB, free: 1.012 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.6756, allocations: 39.92 kB / 0.6666 GB, free: 0.9727 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6756, allocations: 0 / 0.6666 GB, free: 0.9727 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.6757, allocations: 16 kB / 0.6666 GB, free: 0.957 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/0.6799, allocations: 0.8759 MB / 0.6675 GB, free: 84 kB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/0.705, allocations: 19.26 MB / 0.6863 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/0.7103, allocations: 4.79 MB / 0.691 GB, free: 7.969 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.007628/0.718, allocations: 2.851 MB / 0.6938 GB, free: 5.105 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/0.7201, allocations: 1.112 MB / 0.6948 GB, free: 3.992 MB / 0.5295 GB Notification: Performance of SimCode: time 1.263e-06/0.7202, allocations: 0 / 0.6948 GB, free: 3.992 MB / 0.5295 GB Notification: Performance of Templates: time 0.087/0.8072, allocations: 29.73 MB / 0.7239 GB, free: 6.23 MB / 0.5608 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches