Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104.6 kB / 16.5 MB, free: 6.719 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.001455/0.001455, allocations: 194.5 kB / 17.43 MB, free: 6.059 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.061/1.061, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 55.91 kB / 0.4902 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6152, allocations: 80.69 MB / 0.569 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003104/0.6184, allocations: 1.637 MB / 0.5706 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.6198, allocations: 0.8797 MB / 0.5715 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.6199, allocations: 1.25 kB / 0.5715 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.6208, allocations: 0.8982 MB / 0.5724 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.6215, allocations: 0.5173 MB / 0.5729 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.6218, allocations: 90.67 kB / 0.573 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.6229, allocations: 1.156 MB / 0.5741 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.623, allocations: 4.75 kB / 0.5741 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.6237, allocations: 0.5799 MB / 0.5747 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.6249, allocations: 0.976 MB / 0.5756 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.6251, allocations: 63.25 kB / 0.5757 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.6254, allocations: 105 kB / 0.5758 GB, free: 39.49 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002825/0.6282, allocations: 2.503 MB / 0.5782 GB, free: 38.26 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.6293, allocations: 1.433 MB / 0.5796 GB, free: 37.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.632, allocations: 3.04 MB / 0.5826 GB, free: 35.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.632, allocations: 0 / 0.5826 GB, free: 35.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6321, allocations: 1.156 kB / 0.5826 GB, free: 35.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.34e-05/0.6322, allocations: 0 / 0.5826 GB, free: 35.07 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.007502/0.6397, allocations: 5.189 MB / 0.5877 GB, free: 30.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.6397, allocations: 8.031 kB / 0.5877 GB, free: 30.72 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.6405, allocations: 0.5599 MB / 0.5882 GB, free: 30.16 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008978/0.6494, allocations: 6.551 MB / 0.5946 GB, free: 23.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.6495, allocations: 384 / 0.5946 GB, free: 23.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.6495, allocations: 8.125 kB / 0.5946 GB, free: 23.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.6497, allocations: 45.67 kB / 0.5947 GB, free: 23.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6497, allocations: 0 / 0.5947 GB, free: 23.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6497, allocations: 3.984 kB / 0.5947 GB, free: 23.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.6498, allocations: 4 kB / 0.5947 GB, free: 23.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.6498, allocations: 15.98 kB / 0.5947 GB, free: 23.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.6517, allocations: 1.867 MB / 0.5965 GB, free: 21.53 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.6518, allocations: 50.56 kB / 0.5966 GB, free: 21.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.6519, allocations: 24.78 kB / 0.5966 GB, free: 21.44 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.6519, allocations: 4 kB / 0.5966 GB, free: 21.44 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.6522, allocations: 63.39 kB / 0.5966 GB, free: 21.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.6522, allocations: 0 / 0.5966 GB, free: 21.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0006699/0.6528, allocations: 0.6621 MB / 0.5973 GB, free: 20.69 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.6529, allocations: 55.39 kB / 0.5973 GB, free: 20.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005627/0.6585, allocations: 6.439 MB / 0.6036 GB, free: 14.23 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6586, allocations: 29.7 kB / 0.6037 GB, free: 14.19 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.6602, allocations: 2.661 MB / 0.6063 GB, free: 11.53 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.6603, allocations: 15.89 kB / 0.6063 GB, free: 11.51 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.6603, allocations: 21.62 kB / 0.6063 GB, free: 11.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.6604, allocations: 310 kB / 0.6066 GB, free: 11.18 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.6605, allocations: 19.97 kB / 0.6066 GB, free: 11.16 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.6605, allocations: 25.72 kB / 0.6066 GB, free: 11.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.6606, allocations: 45.64 kB / 0.6067 GB, free: 11.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6606, allocations: 4 kB / 0.6067 GB, free: 11.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006599/0.6613, allocations: 0.6426 MB / 0.6073 GB, free: 10.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6613, allocations: 11.98 kB / 0.6073 GB, free: 10.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6613, allocations: 0 / 0.6073 GB, free: 10.4 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.6614, allocations: 0 / 0.6073 GB, free: 10.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.6614, allocations: 11.94 kB / 0.6073 GB, free: 10.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6615, allocations: 0 / 0.6073 GB, free: 10.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.6619, allocations: 20 kB / 0.6073 GB, free: 10.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6619, allocations: 4.031 kB / 0.6074 GB, free: 10.37 MB / 462.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.001336/0.6632, allocations: 1.283 MB / 0.6086 GB, free: 9.074 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.6636, allocations: 0.5902 MB / 0.6092 GB, free: 8.477 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.6641, allocations: 0.652 MB / 0.6098 GB, free: 7.824 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6641, allocations: 0 / 0.6098 GB, free: 7.824 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6641, allocations: 0 / 0.6098 GB, free: 7.824 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6641, allocations: 7.922 kB / 0.6098 GB, free: 7.816 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.6655, allocations: 2.031 MB / 0.6118 GB, free: 5.738 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6655, allocations: 0 / 0.6118 GB, free: 5.738 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.6656, allocations: 8.312 kB / 0.6118 GB, free: 5.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6656, allocations: 0 / 0.6118 GB, free: 5.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6656, allocations: 4 kB / 0.6118 GB, free: 5.727 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6656, allocations: 0 / 0.6118 GB, free: 5.727 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6656, allocations: 4 kB / 0.6118 GB, free: 5.723 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.6662, allocations: 0.7212 MB / 0.6125 GB, free: 4.977 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.6666, allocations: 0.517 MB / 0.613 GB, free: 4.434 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.6669, allocations: 16 kB / 0.613 GB, free: 4.418 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.6672, allocations: 24 kB / 0.6131 GB, free: 4.395 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.6672, allocations: 7.984 kB / 0.6131 GB, free: 4.387 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.6672, allocations: 4 kB / 0.6131 GB, free: 4.383 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00455/0.6718, allocations: 4.412 MB / 0.6174 GB, free: 12 kB / 462.3 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6718, allocations: 0 / 0.6174 GB, free: 12 kB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006661/0.6725, allocations: 180 kB / 0.6176 GB, free: 15.84 MB / 478.3 MB 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.0009237/0.6734, allocations: 402.5 kB / 0.6179 GB, free: 15.59 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.6736, allocations: 47.92 kB / 0.618 GB, free: 15.55 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6736, allocations: 0 / 0.618 GB, free: 15.55 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.6737, allocations: 19.98 kB / 0.618 GB, free: 15.53 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.675, allocations: 468 kB / 0.6185 GB, free: 15.07 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.688, allocations: 9.527 MB / 0.6278 GB, free: 5.508 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.6906, allocations: 2.737 MB / 0.6304 GB, free: 2.746 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003847/0.6945, allocations: 1.418 MB / 0.6318 GB, free: 1.32 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.6957, allocations: 0.5655 MB / 0.6324 GB, free: 0.7539 MB / 478.3 MB Notification: Performance of SimCode: time 2.154e-06/0.6957, allocations: 0 / 0.6324 GB, free: 0.7539 MB / 478.3 MB Notification: Performance of Templates: time 0.04459/0.7403, allocations: 15.21 MB / 0.6472 GB, free: 1.531 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches