Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001528/0.001528, allocations: 104 kB / 16.92 MB, free: 5.793 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.00192/0.00192, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.523/1.523, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.265/1.265, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 63.89 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7117, allocations: 80.68 MB / 0.5697 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.004318/0.7161, allocations: 1.412 MB / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.7177, allocations: 0.5694 MB / 0.5717 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.7178, allocations: 1.531 kB / 0.5717 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.7203, allocations: 1.717 MB / 0.5734 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.7227, allocations: 1.765 MB / 0.5751 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.7232, allocations: 80.66 kB / 0.5752 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005596/0.7288, allocations: 4.305 MB / 0.5794 GB, free: 37.96 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.7289, allocations: 2.5 kB / 0.5794 GB, free: 37.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.7344, allocations: 2.151 MB / 0.5815 GB, free: 36.92 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006136/0.7406, allocations: 4.049 MB / 0.5854 GB, free: 33.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004973/0.7411, allocations: 256 kB / 0.5857 GB, free: 33.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005864/0.7417, allocations: 331.9 kB / 0.586 GB, free: 33.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007943/0.7496, allocations: 9.954 MB / 0.5957 GB, free: 23.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0071/0.7567, allocations: 5.643 MB / 0.6012 GB, free: 17.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.7694, allocations: 12.16 MB / 0.6131 GB, free: 5.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.7695, allocations: 7.984 kB / 0.6131 GB, free: 5.152 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.508e-06/0.7695, allocations: 4 kB / 0.6131 GB, free: 5.148 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0006265/0.7701, allocations: 0 / 0.6131 GB, free: 5.148 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.03177/0.8019, allocations: 19.55 MB / 0.6322 GB, free: 1.367 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.802, allocations: 8.031 kB / 0.6322 GB, free: 1.359 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.8051, allocations: 2.202 MB / 0.6344 GB, free: 15.12 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0561/0.8612, allocations: 25.82 MB / 0.6596 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8613, allocations: 4.375 kB / 0.6596 GB, free: 5.102 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.8615, allocations: 68.38 kB / 0.6596 GB, free: 5.035 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.8626, allocations: 0.7863 MB / 0.6604 GB, free: 4.242 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.8626, allocations: 3.984 kB / 0.6604 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.8627, allocations: 64 kB / 0.6605 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.8627, allocations: 0 / 0.6605 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.8633, allocations: 460 kB / 0.6609 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.8773, allocations: 6.988 MB / 0.6677 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.8782, allocations: 294.6 kB / 0.668 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.8787, allocations: 276.9 kB / 0.6683 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.8787, allocations: 4 kB / 0.6683 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009211/0.8796, allocations: 0.7153 MB / 0.669 GB, free: 11.38 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 5.41e-06/0.8797, allocations: 0 / 0.669 GB, free: 11.38 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006365/0.886, allocations: 4.243 MB / 0.6731 GB, free: 7.094 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.8861, allocations: 81.11 kB / 0.6732 GB, free: 6.996 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04883/0.9349, allocations: 24.83 MB / 0.6975 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0005847/0.9356, allocations: 89.7 kB / 0.6975 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01552/0.9511, allocations: 10.82 MB / 0.7081 GB, free: 3.441 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007792/0.952, allocations: 83.8 kB / 0.7082 GB, free: 3.359 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/0.9526, allocations: 461.7 kB / 0.7086 GB, free: 2.902 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9527, allocations: 310 kB / 0.7089 GB, free: 2.594 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/0.9533, allocations: 268 kB / 0.7092 GB, free: 2.332 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.9538, allocations: 264 kB / 0.7094 GB, free: 2.074 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.9548, allocations: 0.5901 MB / 0.71 GB, free: 1.469 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.9548, allocations: 0 / 0.71 GB, free: 1.469 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007152/0.962, allocations: 3.978 MB / 0.7139 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.9621, allocations: 37.7 kB / 0.7139 GB, free: 13.41 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.9621, allocations: 0 / 0.7139 GB, free: 13.41 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.9622, allocations: 4 kB / 0.7139 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9623, allocations: 7.984 kB / 0.7139 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.9623, allocations: 0 / 0.7139 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/0.9663, allocations: 67.94 kB / 0.714 GB, free: 13.33 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000847/0.9672, allocations: 0.8594 MB / 0.7148 GB, free: 12.46 MB / 0.5608 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.01177/0.979, allocations: 4.909 MB / 0.7196 GB, free: 7.535 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00722/0.9862, allocations: 2.275 MB / 0.7219 GB, free: 5.23 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007242/0.9935, allocations: 2.557 MB / 0.7244 GB, free: 2.664 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.9936, allocations: 0 / 0.7244 GB, free: 2.664 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.9936, allocations: 0 / 0.7244 GB, free: 2.664 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9936, allocations: 0 / 0.7244 GB, free: 2.664 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.015, allocations: 7.621 MB / 0.7318 GB, free: 11 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.015, allocations: 0 / 0.7318 GB, free: 11 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/1.015, allocations: 7.938 kB / 0.7318 GB, free: 10.99 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.015, allocations: 3.938 kB / 0.7318 GB, free: 10.98 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006478/1.016, allocations: 191.9 kB / 0.732 GB, free: 10.8 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/1.016, allocations: 3.984 kB / 0.732 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.016, allocations: 4 kB / 0.732 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006115/1.022, allocations: 4.166 MB / 0.7361 GB, free: 6.57 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004087/1.026, allocations: 1.983 MB / 0.738 GB, free: 4.539 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.027, allocations: 64 kB / 0.7381 GB, free: 4.477 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.029, allocations: 64 kB / 0.7381 GB, free: 4.414 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/1.029, allocations: 4 kB / 0.7381 GB, free: 4.41 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006835/1.029, allocations: 0.8633 MB / 0.739 GB, free: 3.547 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03024/1.06, allocations: 17.24 MB / 0.7558 GB, free: 2.461 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.51e-07/1.06, allocations: 3.938 kB / 0.7558 GB, free: 2.457 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003622/1.063, allocations: 0.6406 MB / 0.7564 GB, free: 1.816 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.0003928/1.064, allocations: 191 kB / 0.7566 GB, free: 1.625 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001194/1.065, allocations: 0.6909 MB / 0.7573 GB, free: 0.9219 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.065, allocations: 0 / 0.7573 GB, free: 0.9219 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006272/1.066, allocations: 419.5 kB / 0.7577 GB, free: 0.5 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6632/1.729, allocations: 1.692 MB / 0.7593 GB, free: 166.1 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07255/1.802, allocations: 35.11 MB / 0.7936 GB, free: 149.2 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01564/1.817, allocations: 8.917 MB / 0.8023 GB, free: 140.2 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01392/1.831, allocations: 4.708 MB / 0.8069 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/1.834, allocations: 0.9876 MB / 0.8079 GB, free: 134.5 MB / 0.5923 GB Notification: Performance of SimCode: time 1.663e-06/1.834, allocations: 0 / 0.8079 GB, free: 134.5 MB / 0.5923 GB Notification: Performance of Templates: time 0.2104/2.044, allocations: 82.66 MB / 0.8886 GB, free: 51.76 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches