Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.001641/0.001642, allocations: 106.1 kB / 16.41 MB, free: 6.48 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.001816/0.001816, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2203/0.2203, allocations: 43.52 MB / 314.1 MB, free: 436 kB / 254.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.001628/0.001628, allocations: 79.89 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1293, allocations: 57.78 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003478/0.1329, allocations: 1.662 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1343, allocations: 0.7842 MB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1344, allocations: 0 / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.1349, allocations: 79.77 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1352, allocations: 83.59 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1355, allocations: 87.77 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1358, allocations: 103.7 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.1358, allocations: 15.91 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.136, allocations: 47.78 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1361, allocations: 51.83 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1361, allocations: 0 / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1363, allocations: 31.98 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.1363, allocations: 27.91 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.1364, allocations: 35.69 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1367, allocations: 107.7 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1367, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1367, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1367, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 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.0006513/0.1374, allocations: 406.9 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1374, allocations: 15.89 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1375, allocations: 30.75 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1375, allocations: 16.75 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.1378, allocations: 204.1 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1379, allocations: 384 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1379, allocations: 15.86 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1381, allocations: 53.61 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1381, allocations: 0 / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1381, allocations: 0 / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1381, allocations: 0 / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.1382, allocations: 12 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.1384, allocations: 189.7 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1386, allocations: 54.5 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.1387, allocations: 20.84 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1387, allocations: 0 / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1389, allocations: 71.39 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1389, allocations: 0 / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002931/0.1392, allocations: 93.48 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1393, allocations: 59.34 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1395, allocations: 219.5 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1395, allocations: 25.7 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.1396, allocations: 100.1 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1396, allocations: 19.88 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.1397, allocations: 21.72 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1399, allocations: 322.8 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.1399, allocations: 15.98 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.14, allocations: 21.97 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.1401, allocations: 53.64 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1401, allocations: 3.938 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001733/0.1403, allocations: 89.44 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1403, allocations: 4 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1403, allocations: 3.984 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1404, allocations: 0 / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.1404, allocations: 12 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1405, allocations: 3.938 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1405, allocations: 4 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1405, allocations: 4 kB / 0.4926 GB, free: 6.727 MB / 382.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 (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.0001108/0.1406, allocations: 137.7 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1407, allocations: 11.81 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.1407, allocations: 16.98 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1407, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1407, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1407, allocations: 7.938 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1409, allocations: 185.6 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1409, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.141, allocations: 7.984 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.141, allocations: 0 / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.141, allocations: 0 / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.141, allocations: 4 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.141, allocations: 0 / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1412, allocations: 121 kB / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1413, allocations: 88.92 kB / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1413, allocations: 4 kB / 0.4931 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.1413, allocations: 0 / 0.4931 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1414, allocations: 11.97 kB / 0.4931 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1414, allocations: 8 kB / 0.4931 GB, free: 6.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1415, allocations: 155.2 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1415, allocations: 0 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1418, allocations: 20 kB / 0.4933 GB, free: 5.863 MB / 382.1 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,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.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.001344/0.1431, allocations: 0.9549 MB / 0.4942 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1433, allocations: 43.91 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1433, allocations: 0 / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.1434, allocations: 16 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1437, allocations: 31.97 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1455, allocations: 1.53 MB / 0.4958 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1458, allocations: 0.708 MB / 0.4965 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.1458, allocations: 16.53 kB / 0.4965 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.1459, allocations: 31.42 kB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1459, allocations: 0 / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.1665, allocations: 3.213 MB / 0.4997 GB, free: 15.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.582, allocations: 4 kB / 0.4997 GB, free: 15.2 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time