Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",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.001416/0.001416, allocations: 100.9 kB / 17.06 MB, free: 6.145 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.001538/0.001538, allocations: 195 kB / 18 MB, free: 5.219 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.185/1.185, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.53 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.185, allocations: 80.71 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002778/0.1878, allocations: 1.41 MB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.189, allocations: 0.5652 MB / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.1891, allocations: 8 kB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1894, allocations: 227.7 kB / 0.6514 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.1899, allocations: 271.6 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1902, allocations: 79.72 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.1907, allocations: 0.5969 MB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1908, allocations: 4 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.1913, allocations: 307.5 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.1919, allocations: 0.5306 MB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.192, allocations: 32 kB / 0.6532 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1922, allocations: 111.9 kB / 0.6533 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.1935, allocations: 1.262 MB / 0.6545 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0007571/0.1943, allocations: 0.7195 MB / 0.6552 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1958, allocations: 1.624 MB / 0.6568 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1958, allocations: 0 / 0.6568 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1958, allocations: 3.938 kB / 0.6568 GB, free: 5.824 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.1958, allocations: 0 / 0.6568 GB, free: 5.824 MB / 0.4983 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 0.003604/0.1994, allocations: 2.766 MB / 0.6595 GB, free: 2.984 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.1995, allocations: 8.031 kB / 0.6595 GB, free: 2.977 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.1996, allocations: 38.75 kB / 0.6595 GB, free: 2.93 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.2, allocations: 289.1 kB / 0.6598 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006558/0.2065, allocations: 3.326 MB / 0.6631 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2066, allocations: 384 / 0.6631 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2066, allocations: 8.375 kB / 0.6631 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.2069, allocations: 153.6 kB / 0.6632 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.207, allocations: 0 / 0.6632 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.207, allocations: 8 kB / 0.6632 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.207, allocations: 0 / 0.6632 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.2071, allocations: 75.98 kB / 0.6633 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.2087, allocations: 1.018 MB / 0.6643 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2089, allocations: 66.58 kB / 0.6643 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.209, allocations: 60.89 kB / 0.6644 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.209, allocations: 0 / 0.6644 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.2093, allocations: 189 kB / 0.6646 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.2093, allocations: 4 kB / 0.6646 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001065/0.2104, allocations: 0.6481 MB / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.2104, allocations: 77.11 kB / 0.6653 GB, free: 12.85 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.2138, allocations: 3.185 MB / 0.6684 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.2139, allocations: 33.7 kB / 0.6684 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.215, allocations: 1.24 MB / 0.6696 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.2151, allocations: 27.72 kB / 0.6697 GB, free: 8.379 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2152, allocations: 73.72 kB / 0.6697 GB, free: 8.301 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2154, allocations: 318 kB / 0.67 GB, free: 7.984 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.2154, allocations: 43.94 kB / 0.6701 GB, free: 7.941 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.2155, allocations: 51.98 kB / 0.6701 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2157, allocations: 168.3 kB / 0.6703 GB, free: 7.711 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2158, allocations: 0 / 0.6703 GB, free: 7.711 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006818/0.2164, allocations: 0.6127 MB / 0.6709 GB, free: 7.082 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.2165, allocations: 33.7 kB / 0.6709 GB, free: 7.043 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2165, allocations: 0 / 0.6709 GB, free: 7.043 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2165, allocations: 3.984 kB / 0.6709 GB, free: 7.039 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.2166, allocations: 4 kB / 0.6709 GB, free: 7.035 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2166, allocations: 4 kB / 0.6709 GB, free: 7.031 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2168, allocations: 12 kB / 0.671 GB, free: 7.02 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/0.2169, allocations: 112 kB / 0.6711 GB, free: 6.91 MB / 0.5139 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.0009247/0.2179, allocations: 0.7426 MB / 0.6718 GB, free: 6.152 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.2181, allocations: 300.1 kB / 0.6721 GB, free: 5.855 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.2185, allocations: 333.8 kB / 0.6724 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.2185, allocations: 0 / 0.6724 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-05/0.2185, allocations: 0 / 0.6724 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2185, allocations: 7.938 kB / 0.6724 GB, free: 5.52 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.2195, allocations: 1.101 MB / 0.6735 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2195, allocations: 3.938 kB / 0.6735 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.2196, allocations: 7.984 kB / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2196, allocations: 0 / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.2196, allocations: 28 kB / 0.6735 GB, free: 4.336 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2196, allocations: 3.938 kB / 0.6735 GB, free: 4.332 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2196, allocations: 0 / 0.6735 GB, free: 4.332 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.2203, allocations: 0.6611 MB / 0.6742 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.2207, allocations: 341.3 kB / 0.6745 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.2208, allocations: 12 kB / 0.6745 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.221, allocations: 8 kB / 0.6745 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.221, allocations: 7.984 kB / 0.6745 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.2211, allocations: 116 kB / 0.6746 GB, free: 3.148 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002576/0.2237, allocations: 2.203 MB / 0.6768 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2237, allocations: 0 / 0.6768 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003801/0.2241, allocations: 108 kB / 0.6769 GB, free: 0.8594 MB / 0.5139 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.001216/0.2253, allocations: 1.274 MB / 0.6781 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.2257, allocations: 207.4 kB / 0.6783 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.2257, allocations: 0 / 0.6783 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2258, allocations: 155.3 kB / 0.6785 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.2265, allocations: 232 kB / 0.6787 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.2498, allocations: 16.79 MB / 0.6951 GB, free: 14.04 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.2515, allocations: 1.699 MB / 0.6967 GB, free: 12.31 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001301/0.2528, allocations: 0.5923 MB / 0.6973 GB, free: 11.71 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009733/0.2538, allocations: 0.9953 MB / 0.6983 GB, free: 10.72 MB / 0.5452 GB Notification: Performance of SimCode: time 1.232e-06/0.2538, allocations: 3.938 kB / 0.6983 GB, free: 10.71 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/0.3297, allocations: 41.08 MB / 0.7384 GB, free: 1.73 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.51, allocations: 10.31 kB / 0.7384 GB, free: 1.723 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches