Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001099/0.001099, allocations: 106.4 kB / 17.21 MB, free: 6.27 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.001009/0.001009, allocations: 194 kB / 18.12 MB, free: 5.363 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.474/1.474, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2748/0.2748, allocations: 44.16 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 65.31 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1373, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003709/0.1411, allocations: 1.783 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1426, allocations: 0.8615 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1427, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1431, allocations: 115.7 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1434, allocations: 79.7 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1438, allocations: 99.72 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.144, allocations: 103.7 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1441, allocations: 19.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1443, allocations: 51.77 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1444, allocations: 59.75 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1444, allocations: 4 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1446, allocations: 55.98 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1446, allocations: 31.83 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.1447, allocations: 39.69 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1449, allocations: 135.8 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.145, allocations: 0 / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.145, allocations: 4 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.145, allocations: 0 / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000612/0.1456, allocations: 438.8 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1456, allocations: 8.031 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1457, allocations: 38.75 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.1458, allocations: 12.75 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.146, allocations: 224.8 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.146, allocations: 4.312 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1461, allocations: 7.938 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1462, allocations: 57.67 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1463, allocations: 4 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1463, allocations: 0 / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1463, allocations: 0 / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.1464, allocations: 27.97 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.1468, allocations: 312.6 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1471, allocations: 66.55 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.1472, allocations: 20.98 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1472, allocations: 0 / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.1474, allocations: 75.36 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1474, allocations: 0 / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007979/0.1482, allocations: 244.9 kB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1483, allocations: 59.34 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1485, allocations: 238.3 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1485, allocations: 33.7 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.1486, allocations: 104.1 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1487, allocations: 39.55 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1487, allocations: 21.72 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1488, allocations: 326.8 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.1489, allocations: 35.98 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.149, allocations: 45.64 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1492, allocations: 85.58 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1492, allocations: 0 / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000221/0.1494, allocations: 121.5 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1494, allocations: 8 kB / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1494, allocations: 4.031 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1494, allocations: 0 / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.1495, allocations: 27.86 kB / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1495, allocations: 4 kB / 474.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1496, allocations: 4 kB / 474.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1496, allocations: 4 kB / 474.7 MB, free: 8.406 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001168/0.1497, allocations: 133.8 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1498, allocations: 15.75 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.1498, allocations: 29.39 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1498, allocations: 11.92 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1499, allocations: 0 / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1499, allocations: 0 / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.1504, allocations: 455.9 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1504, allocations: 0 / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1505, allocations: 15.94 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1505, allocations: 4.062 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1505, allocations: 11.98 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.996e-06/0.1505, allocations: 4 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1505, allocations: 0 / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1508, allocations: 229 kB / 475.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1509, allocations: 88.95 kB / 475.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1509, allocations: 11.98 kB / 475.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.151, allocations: 4 kB / 475.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.151, allocations: 11.92 kB / 475.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1511, allocations: 4 kB / 475.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1512, allocations: 188.3 kB / 475.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1512, allocations: 0 / 475.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1515, allocations: 28 kB / 475.9 MB, free: 7.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001644/0.1532, allocations: 1.181 MB / 477.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1534, allocations: 83.84 kB / 477.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1534, allocations: 4.062 kB / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.1535, allocations: 43.92 kB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1539, allocations: 33.67 kB / 477.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1559, allocations: 1.877 MB / 479.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1562, allocations: 0.7227 MB / 479.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.1563, allocations: 20.64 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.1563, allocations: 47.36 kB / 479.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1563, allocations: 0 / 479.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.1709, allocations: 3.683 MB / 483.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1711, allocations: 236.5 kB / 483.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.092, allocations: 0 / 483.9 MB, free: 15.28 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time