Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.001355/0.001355, allocations: 107 kB / 16.46 MB, free: 6.445 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.001296/0.001296, allocations: 192.1 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 207.6 MB / 225.8 MB, free: 11.54 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.223/0.223, allocations: 44.25 MB / 319.9 MB, free: 12.86 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 76.47 kB / 453.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 61.01 MB / 0.5025 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003355/0.1277, allocations: 1.688 MB / 0.5042 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1292, allocations: 0.8233 MB / 0.505 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1293, allocations: 0 / 0.505 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1296, allocations: 43.77 kB / 0.505 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1298, allocations: 59.75 kB / 0.5051 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1301, allocations: 83.72 kB / 0.5052 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1303, allocations: 111.6 kB / 0.5053 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.1303, allocations: 8.219 kB / 0.5053 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.1304, allocations: 39.84 kB / 0.5053 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.1305, allocations: 31.78 kB / 0.5053 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1305, allocations: 4 kB / 0.5053 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1306, allocations: 39.98 kB / 0.5054 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.1307, allocations: 23.92 kB / 0.5054 GB, free: 9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.1307, allocations: 35.73 kB / 0.5054 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.131, allocations: 119.4 kB / 0.5056 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.131, allocations: 0 / 0.5056 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.131, allocations: 0 / 0.5056 GB, free: 8.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.131, allocations: 4 kB / 0.5056 GB, free: 8.844 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006205/0.1316, allocations: 418.7 kB / 0.506 GB, free: 8.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1317, allocations: 11.89 kB / 0.506 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.1317, allocations: 38.73 kB / 0.506 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1317, allocations: 12.89 kB / 0.506 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.1321, allocations: 216.8 kB / 0.5062 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1321, allocations: 384 / 0.5062 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1321, allocations: 3.938 kB / 0.5062 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1323, allocations: 65.61 kB / 0.5063 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1323, allocations: 3.938 kB / 0.5063 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1323, allocations: 0 / 0.5063 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1323, allocations: 0 / 0.5063 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.1324, allocations: 19.98 kB / 0.5063 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1328, allocations: 288.8 kB / 0.5066 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1329, allocations: 62.61 kB / 0.5066 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.133, allocations: 12.86 kB / 0.5067 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.133, allocations: 4 kB / 0.5067 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.1332, allocations: 67.38 kB / 0.5067 GB, free: 7.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1332, allocations: 0 / 0.5067 GB, free: 7.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005736/0.1337, allocations: 173.3 kB / 0.5069 GB, free: 7.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1338, allocations: 59.41 kB / 0.507 GB, free: 7.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.134, allocations: 199.3 kB / 0.5071 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.134, allocations: 25.7 kB / 0.5072 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.1341, allocations: 108.1 kB / 0.5073 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1341, allocations: 27.78 kB / 0.5073 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1342, allocations: 17.72 kB / 0.5073 GB, free: 6.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1343, allocations: 322.8 kB / 0.5076 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.1344, allocations: 31.92 kB / 0.5076 GB, free: 6.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.1345, allocations: 37.64 kB / 0.5077 GB, free: 6.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1346, allocations: 61.78 kB / 0.5077 GB, free: 6.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1346, allocations: 0 / 0.5077 GB, free: 6.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002209/0.1348, allocations: 105.5 kB / 0.5078 GB, free: 6.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1348, allocations: 8 kB / 0.5079 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1348, allocations: 0 / 0.5079 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1349, allocations: 4.031 kB / 0.5079 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.1349, allocations: 15.98 kB / 0.5079 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.135, allocations: 4.375 kB / 0.5079 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.135, allocations: 7.938 kB / 0.5079 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.135, allocations: 4 kB / 0.5079 GB, free: 6.211 MB / 398.1 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.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001157/0.1351, allocations: 133.7 kB / 0.508 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1352, allocations: 15.95 kB / 0.508 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1352, allocations: 17.41 kB / 0.508 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1352, allocations: 4 kB / 0.5081 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1352, allocations: 0 / 0.5081 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1352, allocations: 11.92 kB / 0.5081 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.1357, allocations: 391.2 kB / 0.5084 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1357, allocations: 4 kB / 0.5084 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1358, allocations: 8 kB / 0.5084 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.1358, allocations: 7.938 kB / 0.5085 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1358, allocations: 0 / 0.5085 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1358, allocations: 0 / 0.5085 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1358, allocations: 8.031 kB / 0.5085 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.136, allocations: 200.3 kB / 0.5087 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.1361, allocations: 93 kB / 0.5087 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1361, allocations: 7.938 kB / 0.5087 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1362, allocations: 0 / 0.5087 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1362, allocations: 7.984 kB / 0.5088 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1362, allocations: 12 kB / 0.5088 GB, free: 5.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1364, allocations: 148.9 kB / 0.5089 GB, free: 5.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1364, allocations: 0 / 0.5089 GB, free: 5.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1367, allocations: 23.94 kB / 0.5089 GB, free: 5.027 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002263/0.1389, allocations: 1.103 MB / 0.51 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1391, allocations: 51.97 kB / 0.5101 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1391, allocations: 0 / 0.5101 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.1392, allocations: 31.98 kB / 0.5101 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1395, allocations: 23.98 kB / 0.5101 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1415, allocations: 1.662 MB / 0.5117 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1418, allocations: 0.7041 MB / 0.5124 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.1419, allocations: 21.19 kB / 0.5124 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.142, allocations: 39.42 kB / 0.5125 GB, free: 1.293 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.142, allocations: 0 / 0.5125 GB, free: 1.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.169, allocations: 3.43 MB / 0.5158 GB, free: 13.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.606/9.775, allocations: 8.219 kB / 0.5158 GB, free: 13.83 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time