Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001141/0.001141, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.129/1.129, allocations: 119.3 MB / 410.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 0.4904 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6766, allocations: 80.69 MB / 0.5691 GB, free: 43.55 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.003301/0.68, allocations: 1.627 MB / 0.5707 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.6814, allocations: 0.8894 MB / 0.5716 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.6815, allocations: 0 / 0.5716 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.6846, allocations: 3.459 MB / 0.575 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.6865, allocations: 1.789 MB / 0.5767 GB, free: 38.94 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.6869, allocations: 96.02 kB / 0.5768 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.6922, allocations: 4.338 MB / 0.5811 GB, free: 36.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.6923, allocations: 4.656 kB / 0.5811 GB, free: 36.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/0.6979, allocations: 2.161 MB / 0.5832 GB, free: 35.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004883/0.7028, allocations: 3.822 MB / 0.5869 GB, free: 31.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.7033, allocations: 252 kB / 0.5871 GB, free: 31.44 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.7039, allocations: 280 kB / 0.5874 GB, free: 31.17 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007514/0.7114, allocations: 9.966 MB / 0.5971 GB, free: 21.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.008636/0.7201, allocations: 5.647 MB / 0.6027 GB, free: 15.47 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.7306, allocations: 11.92 MB / 0.6143 GB, free: 3.484 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.7307, allocations: 4 kB / 0.6143 GB, free: 3.48 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7307, allocations: 0 / 0.6143 GB, free: 3.48 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.000555/0.7313, allocations: 0 / 0.6143 GB, free: 3.48 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.03902/0.7703, allocations: 19.57 MB / 0.6334 GB, free: 15.68 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 8.475e-05/0.7704, allocations: 12.03 kB / 0.6334 GB, free: 15.67 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.7705, allocations: 30.75 kB / 0.6335 GB, free: 15.63 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005015/0.7755, allocations: 2.214 MB / 0.6356 GB, free: 13.39 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06312/0.8386, allocations: 25.84 MB / 0.6609 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.8387, allocations: 384 / 0.6609 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.8387, allocations: 11.88 kB / 0.6609 GB, free: 3.344 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.8389, allocations: 53.61 kB / 0.6609 GB, free: 3.285 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.839, allocations: 3.984 kB / 0.6609 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.839, allocations: 0 / 0.6609 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.839, allocations: 0 / 0.6609 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.8391, allocations: 15.98 kB / 0.6609 GB, free: 3.266 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.8575, allocations: 6.95 MB / 0.6677 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.858, allocations: 58.55 kB / 0.6678 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.8581, allocations: 20.8 kB / 0.6678 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.8581, allocations: 0 / 0.6678 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.8585, allocations: 71.39 kB / 0.6679 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 3.857e-06/0.8586, allocations: 0 / 0.6679 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.007315/0.8659, allocations: 2.355 MB / 0.6702 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.866, allocations: 51.41 kB / 0.6702 GB, free: 9.637 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06321/0.9292, allocations: 25.36 MB / 0.695 GB, free: 500 kB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.9293, allocations: 29.7 kB / 0.695 GB, free: 464 kB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01407/0.9434, allocations: 11.34 MB / 0.7061 GB, free: 5.105 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.9436, allocations: 15.84 kB / 0.7061 GB, free: 5.09 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.9438, allocations: 25.62 kB / 0.7061 GB, free: 5.059 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9439, allocations: 314 kB / 0.7064 GB, free: 4.746 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.9441, allocations: 11.94 kB / 0.7064 GB, free: 4.734 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.9442, allocations: 33.7 kB / 0.7065 GB, free: 4.695 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.9443, allocations: 41.7 kB / 0.7065 GB, free: 4.648 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.9443, allocations: 3.938 kB / 0.7065 GB, free: 4.645 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005634/0.95, allocations: 2.339 MB / 0.7088 GB, free: 2.27 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.95, allocations: 8 kB / 0.7088 GB, free: 2.262 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.95, allocations: 0 / 0.7088 GB, free: 2.262 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.95, allocations: 0 / 0.7088 GB, free: 2.262 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.9502, allocations: 11.98 kB / 0.7088 GB, free: 2.25 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.9502, allocations: 0 / 0.7088 GB, free: 2.25 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/0.9541, allocations: 68 kB / 0.7089 GB, free: 2.184 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.9541, allocations: 0 / 0.7089 GB, free: 2.184 MB / 0.5452 GB 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.008638/0.9628, allocations: 4.767 MB / 0.7135 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005573/0.9684, allocations: 2.326 MB / 0.7158 GB, free: 11.05 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007595/0.976, allocations: 2.565 MB / 0.7183 GB, free: 8.48 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.976, allocations: 0 / 0.7183 GB, free: 8.48 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.976, allocations: 0 / 0.7183 GB, free: 8.48 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.976, allocations: 0 / 0.7183 GB, free: 8.48 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/0.9981, allocations: 7.629 MB / 0.7258 GB, free: 0.8047 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.9982, allocations: 0 / 0.7258 GB, free: 0.8047 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.9982, allocations: 4 kB / 0.7258 GB, free: 0.8008 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.9983, allocations: 320 / 0.7258 GB, free: 0.8008 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.9983, allocations: 7.938 kB / 0.7258 GB, free: 0.793 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9983, allocations: 8 kB / 0.7258 GB, free: 0.7852 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9983, allocations: 0 / 0.7258 GB, free: 0.7852 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/1.004, allocations: 2.571 MB / 0.7283 GB, free: 14.16 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005337/1.01, allocations: 1.796 MB / 0.73 GB, free: 12.32 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/1.012, allocations: 64 kB / 0.7301 GB, free: 12.26 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.015, allocations: 64 kB / 0.7302 GB, free: 12.2 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/1.015, allocations: 3.984 kB / 0.7302 GB, free: 12.2 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.015, allocations: 12 kB / 0.7302 GB, free: 12.18 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03649/1.052, allocations: 17.51 MB / 0.7473 GB, free: 10.83 MB / 0.592 GB Notification: Performance of sort global known variables: time 4.91e-07/1.052, allocations: 0 / 0.7473 GB, free: 10.83 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.00409/1.056, allocations: 0.6289 MB / 0.7479 GB, free: 10.2 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: 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.006518/1.062, allocations: 3.568 MB / 0.7514 GB, free: 6.73 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002032/1.063, allocations: 47.92 kB / 0.7514 GB, free: 6.684 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.063, allocations: 0 / 0.7514 GB, free: 6.684 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/1.063, allocations: 19.98 kB / 0.7514 GB, free: 6.664 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008947/1.072, allocations: 1.712 MB / 0.7531 GB, free: 4.957 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.199/3.271, allocations: 373 MB / 1.117 GB, free: 166.8 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01621/3.288, allocations: 8.924 MB / 1.126 GB, free: 157.8 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.0178/3.305, allocations: 5.663 MB / 1.132 GB, free: 152.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01307/3.318, allocations: 10.39 MB / 1.142 GB, free: 142 MB / 0.686 GB Notification: Performance of SimCode: time 2.274e-06/3.318, allocations: 0 / 1.142 GB, free: 142 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8266/4.145, allocations: 284.3 MB / 1.419 GB, free: 80.23 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/4.145, allocations: 280.1 kB / 1.42 GB, free: 79.85 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/23, allocations: 0 / 1.42 GB, free: 79.85 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches