Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") 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: 114.6 kB / 17.69 MB, free: 5.309 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.001644/0.001644, allocations: 191 kB / 18.63 MB, free: 4.375 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.568/1.568, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.343/1.343, allocations: 119.3 MB / 411.8 MB, free: 9.551 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 59.91 kB / 0.4924 GB, free: 13.07 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.8074, allocations: 80.69 MB / 0.5712 GB, free: 43.55 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.003332/0.8107, allocations: 1.41 MB / 0.5725 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.8119, allocations: 0.5692 MB / 0.5731 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.812, allocations: 5.438 kB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.8247, allocations: 13.69 MB / 0.5865 GB, free: 33.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.8308, allocations: 13.72 MB / 0.5999 GB, free: 20.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.8314, allocations: 85.14 kB / 0.5999 GB, free: 20.06 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02314/0.8545, allocations: 34 MB / 0.6331 GB, free: 2.016 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.8547, allocations: 4 kB / 0.6332 GB, free: 2.012 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03099/0.8857, allocations: 16.89 MB / 0.6496 GB, free: 1.09 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05065/0.9364, allocations: 32.25 MB / 0.6811 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.01183/0.9483, allocations: 1.961 MB / 0.6831 GB, free: 14.83 MB / 0.5296 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.961, allocations: 2.031 MB / 0.685 GB, free: 12.8 MB / 0.5296 GB Notification: Performance of NFScalarize.scalarize: time 0.9698/1.931, allocations: 79.59 MB / 0.7628 GB, free: 76.14 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.09125/2.022, allocations: 44.95 MB / 0.8067 GB, free: 41 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1451/2.167, allocations: 98.72 MB / 0.9031 GB, free: 3.832 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/2.167, allocations: 0 / 0.9031 GB, free: 3.832 MB / 0.6079 GB Notification: Performance of FrontEnd: time 4.859e-06/2.167, allocations: 0 / 0.9031 GB, free: 3.832 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.009392/2.177, allocations: 0 / 0.9031 GB, free: 3.832 MB / 0.6079 GB 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 1.362/3.539, allocations: 153.9 MB / 1.053 GB, free: 161.1 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 8.285e-05/3.539, allocations: 13.11 kB / 1.053 GB, free: 161.1 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04489/3.584, allocations: 17.59 MB / 1.071 GB, free: 152.1 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.057/4.64, allocations: 206 MB / 1.272 GB, free: 14.28 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/4.641, allocations: 384 / 1.272 GB, free: 14.28 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005518/4.646, allocations: 0.4926 MB / 1.272 GB, free: 13.79 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/4.673, allocations: 5.899 MB / 1.278 GB, free: 7.875 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/4.673, allocations: 0.875 kB / 1.278 GB, free: 7.875 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005529/4.679, allocations: 0.503 MB / 1.278 GB, free: 7.375 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/4.679, allocations: 7.766 kB / 1.278 GB, free: 7.371 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02204/4.701, allocations: 3.433 MB / 1.282 GB, free: 3.941 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/4.884, allocations: 54.94 MB / 1.335 GB, free: 12.89 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/4.897, allocations: 1.991 MB / 1.337 GB, free: 10.89 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01194/4.909, allocations: 1.981 MB / 1.339 GB, free: 8.902 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/4.909, allocations: 0 / 1.339 GB, free: 8.902 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01496/4.924, allocations: 4.991 MB / 1.344 GB, free: 3.895 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 8.035e-06/4.924, allocations: 1.078 kB / 1.344 GB, free: 3.895 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.104/5.028, allocations: 32.85 MB / 1.376 GB, free: 2.789 MB / 0.8741 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/5.028, allocations: 81.11 kB / 1.376 GB, free: 2.691 MB / 0.8741 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.188/6.217, allocations: 198 MB / 1.57 GB, free: 172.5 MB / 0.8741 GB Notification: Performance of collectPreVariables (initialization): time 0.005012/6.222, allocations: 0.5134 MB / 1.57 GB, free: 172 MB / 0.8741 GB Notification: Performance of collectInitialEqns (initialization): time 0.1416/6.363, allocations: 97.77 MB / 1.666 GB, free: 74.23 MB / 0.8741 GB Notification: Performance of collectInitialBindings (initialization): time 0.006577/6.37, allocations: 0.5079 MB / 1.666 GB, free: 73.73 MB / 0.8741 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01981/6.39, allocations: 3.439 MB / 1.67 GB, free: 70.29 MB / 0.8741 GB Notification: Performance of setup shared object (initialization): time 0.0001022/6.39, allocations: 314 kB / 1.67 GB, free: 69.98 MB / 0.8741 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01178/6.402, allocations: 1.965 MB / 1.672 GB, free: 68.01 MB / 0.8741 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/6.415, allocations: 1.977 MB / 1.674 GB, free: 66.04 MB / 0.8741 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02776/6.443, allocations: 4 MB / 1.678 GB, free: 62.02 MB / 0.8741 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/6.443, allocations: 5.781 kB / 1.678 GB, free: 62.02 MB / 0.8741 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.1111/6.554, allocations: 30.89 MB / 1.708 GB, free: 40.89 MB / 0.8741 GB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/6.554, allocations: 45.16 kB / 1.708 GB, free: 40.85 MB / 0.8741 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/6.554, allocations: 0 / 1.708 GB, free: 40.85 MB / 0.8741 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/6.554, allocations: 0 / 1.708 GB, free: 40.85 MB / 0.8741 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/6.554, allocations: 6.688 kB / 1.708 GB, free: 40.84 MB / 0.8741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/6.554, allocations: 0 / 1.708 GB, free: 40.84 MB / 0.8741 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03774/6.592, allocations: 0.4951 MB / 1.708 GB, free: 40.35 MB / 0.8741 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01848/6.611, allocations: 6.836 MB / 1.715 GB, free: 33.52 MB / 0.8741 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.7524/7.363, allocations: 38.24 MB / 1.752 GB, free: 181 MB / 0.8741 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05624/7.419, allocations: 18.08 MB / 1.77 GB, free: 181 MB / 0.8741 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09503/7.514, allocations: 20.44 MB / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/7.514, allocations: 0 / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/7.514, allocations: 0 / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/7.515, allocations: 5.266 kB / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2561/7.771, allocations: 59.83 MB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/7.771, allocations: 3.844 kB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/7.771, allocations: 2 kB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/7.771, allocations: 2 kB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007715/7.779, allocations: 1.48 MB / 1.85 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/7.779, allocations: 0 / 1.85 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/7.779, allocations: 3.938 kB / 1.85 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1242/7.903, allocations: 32.09 MB / 1.881 GB, free: 174.2 MB / 0.8741 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07651/7.979, allocations: 15.22 MB / 1.896 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04028/8.02, allocations: 0.4963 MB / 1.897 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0375/8.057, allocations: 0.4905 MB / 1.897 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/8.057, allocations: 10.75 kB / 1.897 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02094/8.078, allocations: 6.84 MB / 1.904 GB, free: 164 MB / 0.8741 GB Notification: Performance of sorting global known variables: time 0.4274/8.506, allocations: 137.9 MB / 2.038 GB, free: 55.57 MB / 0.8741 GB Notification: Performance of sort global known variables: time 1.353e-06/8.506, allocations: 0 / 2.038 GB, free: 55.57 MB / 0.8741 GB Notification: Performance of remove unused functions: time 0.03912/8.545, allocations: 4.913 MB / 2.043 GB, free: 50.66 MB / 0.8741 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.005775/8.551, allocations: 0.616 MB / 2.044 GB, free: 50.05 MB / 0.8741 GB Notification: Performance of simCode: created initialization part: time 0.02862/8.58, allocations: 4.529 MB / 2.048 GB, free: 45.54 MB / 0.8741 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/8.58, allocations: 0 / 2.048 GB, free: 45.54 MB / 0.8741 GB Notification: Performance of simCode: created simulation system equations: time 0.0154/8.595, allocations: 2.546 MB / 2.051 GB, free: 43.01 MB / 0.8741 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1395/8.735, allocations: 13.49 MB / 2.064 GB, free: 37.33 MB / 0.8741 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.135/9.869, allocations: 293.6 MB / 2.351 GB, free: 127.9 MB / 0.8741 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1775/10.05, allocations: 68.46 MB / 2.418 GB, free: 59.34 MB / 0.8741 GB Notification: Performance of simCode: alias equations: time 0.1205/10.17, allocations: 37.27 MB / 2.454 GB, free: 22.02 MB / 0.8741 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02224/10.19, allocations: 7.828 MB / 2.462 GB, free: 14.19 MB / 0.8741 GB Notification: Performance of SimCode: time 8.796e-06/10.19, allocations: 0 / 2.462 GB, free: 14.19 MB / 0.8741 GB Notification: Performance of Templates: time 3.319/13.51, allocations: 0.6734 GB / 3.135 GB, free: 4.871 MB / 0.9053 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches