Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001696/0.001697, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.351/1.351, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9086/0.9086, allocations: 119.3 MB / 411.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.12 kB / 0.4909 GB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4956, allocations: 80.68 MB / 0.5697 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002284/0.498, allocations: 1.48 MB / 0.5711 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000889/0.4989, allocations: 0.5886 MB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.4989, allocations: 5 kB / 0.5717 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.5001, allocations: 1.717 MB / 0.5734 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.5012, allocations: 1.752 MB / 0.5751 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.5015, allocations: 64.42 kB / 0.5752 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003229/0.5048, allocations: 4.292 MB / 0.5794 GB, free: 37.47 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.5049, allocations: 10.52 kB / 0.5794 GB, free: 37.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.5084, allocations: 2.134 MB / 0.5814 GB, free: 36.44 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005279/0.5137, allocations: 3.821 MB / 0.5852 GB, free: 34.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0009209/0.5146, allocations: 252 kB / 0.5854 GB, free: 33.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.5154, allocations: 323.9 kB / 0.5857 GB, free: 33.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007522/0.5229, allocations: 9.954 MB / 0.5954 GB, free: 23.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006285/0.5292, allocations: 5.639 MB / 0.601 GB, free: 17.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006515/0.5358, allocations: 9.088 MB / 0.6098 GB, free: 8.715 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5358, allocations: 4 kB / 0.6098 GB, free: 8.711 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5358, allocations: 0 / 0.6098 GB, free: 8.711 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003959/0.5362, allocations: 0 / 0.6098 GB, free: 8.711 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.02255/0.5588, allocations: 19.56 MB / 0.6289 GB, free: 4.926 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5588, allocations: 8.031 kB / 0.6289 GB, free: 4.918 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.5617, allocations: 2.202 MB / 0.6311 GB, free: 2.688 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04864/0.6104, allocations: 25.83 MB / 0.6563 GB, free: 8.668 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6105, allocations: 384 / 0.6563 GB, free: 8.668 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.6108, allocations: 72.36 kB / 0.6564 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.6121, allocations: 0.7864 MB / 0.6572 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6121, allocations: 0 / 0.6572 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.6123, allocations: 67.94 kB / 0.6572 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6123, allocations: 3.938 kB / 0.6572 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.6129, allocations: 463.9 kB / 0.6577 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.6262, allocations: 6.992 MB / 0.6645 GB, free: 244 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/0.6272, allocations: 294.6 kB / 0.6648 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.628, allocations: 276.9 kB / 0.665 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.628, allocations: 0 / 0.665 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.6291, allocations: 0.7073 MB / 0.6657 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.745e-06/0.6291, allocations: 0 / 0.6657 GB, free: 14.94 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006069/0.6352, allocations: 4.232 MB / 0.6699 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.6353, allocations: 85.11 kB / 0.6699 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04278/0.6781, allocations: 24.83 MB / 0.6942 GB, free: 1.938 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004563/0.6786, allocations: 93.7 kB / 0.6943 GB, free: 1.84 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01297/0.6916, allocations: 10.82 MB / 0.7048 GB, free: 7.016 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/0.6922, allocations: 83.95 kB / 0.7049 GB, free: 6.934 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.6934, allocations: 461.7 kB / 0.7054 GB, free: 6.477 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6935, allocations: 306 kB / 0.7057 GB, free: 6.172 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.6941, allocations: 272 kB / 0.7059 GB, free: 5.906 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.6946, allocations: 267.9 kB / 0.7062 GB, free: 5.645 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.6955, allocations: 0.5901 MB / 0.7067 GB, free: 5.039 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6955, allocations: 0 / 0.7067 GB, free: 5.039 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005477/0.701, allocations: 3.974 MB / 0.7106 GB, free: 1.023 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.7011, allocations: 40.19 kB / 0.7107 GB, free: 0.9805 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7011, allocations: 0 / 0.7107 GB, free: 0.9805 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7012, allocations: 0 / 0.7107 GB, free: 0.9805 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.7013, allocations: 4 kB / 0.7107 GB, free: 0.9766 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7013, allocations: 4.094 kB / 0.7107 GB, free: 0.9727 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.704, allocations: 79.78 kB / 0.7108 GB, free: 0.8945 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009284/0.7049, allocations: 0.8672 MB / 0.7116 GB, free: 28 kB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007999/0.7129, allocations: 4.905 MB / 0.7164 GB, free: 11.1 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003665/0.7166, allocations: 2.268 MB / 0.7186 GB, free: 8.805 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/0.7223, allocations: 2.561 MB / 0.7211 GB, free: 6.234 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7223, allocations: 0 / 0.7211 GB, free: 6.234 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7223, allocations: 0 / 0.7211 GB, free: 6.234 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7224, allocations: 0 / 0.7211 GB, free: 6.234 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/0.7398, allocations: 7.617 MB / 0.7285 GB, free: 14.57 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.7399, allocations: 0 / 0.7285 GB, free: 14.57 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.7399, allocations: 7.938 kB / 0.7285 GB, free: 14.56 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.74, allocations: 4 kB / 0.7286 GB, free: 14.55 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/0.7405, allocations: 188 kB / 0.7287 GB, free: 14.37 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7405, allocations: 0 / 0.7287 GB, free: 14.37 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7405, allocations: 0 / 0.7287 GB, free: 14.37 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.7461, allocations: 4.17 MB / 0.7328 GB, free: 10.15 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004172/0.7503, allocations: 1.98 MB / 0.7347 GB, free: 8.121 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/0.7522, allocations: 67.98 kB / 0.7348 GB, free: 8.055 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/0.7543, allocations: 68 kB / 0.7349 GB, free: 7.988 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.7544, allocations: 4.188 kB / 0.7349 GB, free: 7.984 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009444/0.7553, allocations: 0.8594 MB / 0.7357 GB, free: 7.125 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.0308/0.7861, allocations: 17.24 MB / 0.7525 GB, free: 6.035 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.072e-06/0.7862, allocations: 0 / 0.7525 GB, free: 6.035 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.00373/0.7899, allocations: 0.6406 MB / 0.7532 GB, free: 5.395 MB / 0.592 GB 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 (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.0005381/0.7905, allocations: 201.2 kB / 0.7534 GB, free: 5.195 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.7918, allocations: 0.679 MB / 0.754 GB, free: 4.504 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7919, allocations: 4 kB / 0.754 GB, free: 4.5 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.7925, allocations: 423.4 kB / 0.7544 GB, free: 4.074 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007136/0.7996, allocations: 1.704 MB / 0.7561 GB, free: 2.367 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5242/1.324, allocations: 39.9 MB / 0.7951 GB, free: 142.5 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/1.337, allocations: 8.917 MB / 0.8038 GB, free: 133.5 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/1.339, allocations: 0.9838 MB / 0.8047 GB, free: 132.5 MB / 0.5923 GB Notification: Performance of SimCode: time 1.863e-06/1.339, allocations: 0 / 0.8047 GB, free: 132.5 MB / 0.5923 GB Notification: Performance of Templates: time 4.536/5.875, allocations: 1.617 GB / 2.421 GB, free: 180.4 MB / 0.7173 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches