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.001226/0.001226, allocations: 101 kB / 17.59 MB, free: 5.422 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.001399/0.001399, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.433/1.433, allocations: 222.9 MB / 242.2 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.057/1.057, allocations: 119.3 MB / 411.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 55.91 kB / 0.4916 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6096, allocations: 80.68 MB / 0.5704 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003122/0.6128, allocations: 1.415 MB / 0.5718 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.614, allocations: 0.5727 MB / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.6141, allocations: 1.344 kB / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.6159, allocations: 1.717 MB / 0.574 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.618, allocations: 1.764 MB / 0.5757 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.6185, allocations: 77.67 kB / 0.5758 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005768/0.6243, allocations: 4.308 MB / 0.58 GB, free: 37.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.6244, allocations: 10.52 kB / 0.58 GB, free: 37.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006204/0.6306, allocations: 2.146 MB / 0.5821 GB, free: 36.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008757/0.6394, allocations: 4.056 MB / 0.5861 GB, free: 33.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.6414, allocations: 252 kB / 0.5863 GB, free: 33.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.6438, allocations: 331.9 kB / 0.5866 GB, free: 33.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01189/0.6557, allocations: 9.954 MB / 0.5964 GB, free: 23.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.6672, allocations: 5.636 MB / 0.6019 GB, free: 17.38 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.6813, allocations: 12.17 MB / 0.6137 GB, free: 5.141 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.6814, allocations: 0 / 0.6137 GB, free: 5.141 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6814, allocations: 0 / 0.6137 GB, free: 5.141 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005676/0.682, allocations: 0 / 0.6137 GB, free: 5.141 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.03392/0.7159, allocations: 19.57 MB / 0.6329 GB, free: 1.348 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.716, allocations: 8.031 kB / 0.6329 GB, free: 1.34 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004121/0.7201, allocations: 2.202 MB / 0.635 GB, free: 15.1 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05664/0.7768, allocations: 25.83 MB / 0.6602 GB, free: 5.086 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.7769, allocations: 384 / 0.6602 GB, free: 5.086 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/0.7773, allocations: 64.38 kB / 0.6603 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7789, allocations: 0.7786 MB / 0.6611 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7789, allocations: 0 / 0.6611 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.7791, allocations: 64 kB / 0.6611 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7791, allocations: 0 / 0.6611 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.7798, allocations: 467.9 kB / 0.6616 GB, free: 3.719 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.7975, allocations: 6.996 MB / 0.6684 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.7987, allocations: 286.6 kB / 0.6687 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/0.7994, allocations: 280.9 kB / 0.6689 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.7995, allocations: 0 / 0.6689 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009538/0.8004, allocations: 0.7191 MB / 0.6696 GB, free: 11.37 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.8004, allocations: 4 kB / 0.6696 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006737/0.8072, allocations: 4.224 MB / 0.6738 GB, free: 7.098 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.8073, allocations: 93.03 kB / 0.6739 GB, free: 6.988 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0436/0.8509, allocations: 24.83 MB / 0.6981 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0003571/0.8513, allocations: 89.7 kB / 0.6982 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01318/0.8645, allocations: 10.82 MB / 0.7088 GB, free: 3.441 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006435/0.8652, allocations: 79.8 kB / 0.7088 GB, free: 3.363 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005922/0.8658, allocations: 461.7 kB / 0.7093 GB, free: 2.906 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8659, allocations: 314 kB / 0.7096 GB, free: 2.594 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.8664, allocations: 264 kB / 0.7098 GB, free: 2.336 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.8668, allocations: 264 kB / 0.7101 GB, free: 2.078 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000931/0.8677, allocations: 0.5939 MB / 0.7107 GB, free: 1.469 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8677, allocations: 0 / 0.7107 GB, free: 1.469 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006004/0.8737, allocations: 3.978 MB / 0.7145 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.8738, allocations: 40.36 kB / 0.7146 GB, free: 13.41 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8739, allocations: 4 kB / 0.7146 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.8739, allocations: 0 / 0.7146 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.874, allocations: 8 kB / 0.7146 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.874, allocations: 3.984 kB / 0.7146 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.8768, allocations: 71.94 kB / 0.7147 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/0.8776, allocations: 0.8555 MB / 0.7155 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.008454/0.8861, allocations: 4.901 MB / 0.7203 GB, free: 7.543 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003883/0.89, allocations: 2.271 MB / 0.7225 GB, free: 5.242 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.8953, allocations: 2.557 MB / 0.725 GB, free: 2.676 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8954, allocations: 0 / 0.725 GB, free: 2.676 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8954, allocations: 4 kB / 0.725 GB, free: 2.672 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8954, allocations: 4.234 kB / 0.725 GB, free: 2.668 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.9115, allocations: 7.625 MB / 0.7325 GB, free: 10.99 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9115, allocations: 0 / 0.7325 GB, free: 10.99 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.9116, allocations: 11.92 kB / 0.7325 GB, free: 10.98 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.9116, allocations: 0 / 0.7325 GB, free: 10.98 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007782/0.9124, allocations: 192 kB / 0.7326 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.9124, allocations: 3.938 kB / 0.7327 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9124, allocations: 3.984 kB / 0.7327 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/0.9196, allocations: 4.17 MB / 0.7367 GB, free: 6.562 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006053/0.9257, allocations: 1.983 MB / 0.7387 GB, free: 4.531 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/0.928, allocations: 68 kB / 0.7387 GB, free: 4.465 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.93, allocations: 64 kB / 0.7388 GB, free: 4.402 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.9301, allocations: 0 / 0.7388 GB, free: 4.402 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008202/0.9309, allocations: 0.8633 MB / 0.7396 GB, free: 3.539 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03318/0.9641, allocations: 17.24 MB / 0.7565 GB, free: 2.453 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.41e-07/0.9641, allocations: 0 / 0.7565 GB, free: 2.453 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003356/0.9675, allocations: 0.6406 MB / 0.7571 GB, free: 1.812 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.000403/0.9679, allocations: 189.5 kB / 0.7573 GB, free: 1.621 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.9691, allocations: 0.6946 MB / 0.758 GB, free: 0.9141 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9691, allocations: 0 / 0.758 GB, free: 0.9141 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.9698, allocations: 423.4 kB / 0.7584 GB, free: 500 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5338/1.504, allocations: 1.687 MB / 0.76 GB, free: 166 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05937/1.563, allocations: 35.99 MB / 0.7952 GB, free: 148.2 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/1.576, allocations: 8.913 MB / 0.8039 GB, free: 139.3 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.578, allocations: 0.9877 MB / 0.8048 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of SimCode: time 1.183e-06/1.578, allocations: 0 / 0.8048 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of Templates: time 4.945/6.524, allocations: 1.617 GB / 2.422 GB, free: 172 MB / 0.7017 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches