Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.001797/0.001797, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.00228/0.002281, allocations: 194 kB / 18.12 MB, free: 5.383 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.394/1.394, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.2878/0.2878, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 68.86 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003648/0.1394, allocations: 1.722 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1411, allocations: 0.842 MB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.1412, allocations: 0 / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.1416, allocations: 59.8 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.1419, allocations: 51.81 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1422, allocations: 87.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1424, allocations: 87.7 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.1425, allocations: 11.98 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1426, allocations: 47.72 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.1427, allocations: 27.86 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1427, allocations: 0 / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1428, allocations: 35.97 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.1429, allocations: 19.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.143, allocations: 47.61 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1432, allocations: 107.9 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1432, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1432, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1432, allocations: 4 kB / 471.8 MB, free: 11.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000596/0.1438, allocations: 430.7 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1439, allocations: 12.03 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.1439, allocations: 30.75 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.144, allocations: 12.75 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1442, allocations: 216 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1443, allocations: 384 / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1443, allocations: 7.938 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1445, allocations: 57.61 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1445, allocations: 0 / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1445, allocations: 0 / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1445, allocations: 0 / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.1446, allocations: 15.98 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.1448, allocations: 185.7 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.145, allocations: 58.55 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.1451, allocations: 28.8 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1451, allocations: 0 / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.1453, allocations: 63.39 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.013e-06/0.1453, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002994/0.1456, allocations: 101.5 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1457, allocations: 51.41 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.146, allocations: 274.8 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.146, allocations: 29.7 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1461, allocations: 108.1 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1461, allocations: 11.91 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1461, allocations: 17.66 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1463, allocations: 330.8 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.1463, allocations: 15.98 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.1464, allocations: 37.69 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1465, allocations: 37.72 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1465, allocations: 3.938 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.1467, allocations: 93.41 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1467, allocations: 4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1467, allocations: 4 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1467, allocations: 0 / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.1468, allocations: 12 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1468, allocations: 4.031 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.1469, allocations: 15.83 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1469, allocations: 0 / 474 MB, free: 9.121 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 (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.0001199/0.147, allocations: 141.7 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1471, allocations: 11.91 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.1471, allocations: 13 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1471, allocations: 4 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1471, allocations: 0 / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1471, allocations: 3.984 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1473, allocations: 197.9 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1473, allocations: 4 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.1473, allocations: 7.984 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1473, allocations: 0 / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1473, allocations: 0 / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1474, allocations: 4 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1474, allocations: 0 / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1476, allocations: 116.8 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.1476, allocations: 92.92 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1476, allocations: 0 / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.1477, allocations: 4 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1477, allocations: 7.984 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1477, allocations: 4 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1479, allocations: 192.2 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1479, allocations: 4 kB / 474.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1481, allocations: 23.98 kB / 474.8 MB, free: 8.207 MB / 350.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.001396/0.1495, allocations: 0.9531 MB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1497, allocations: 43.92 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1497, allocations: 0 / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.1498, allocations: 16 kB / 475.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1501, allocations: 28.03 kB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1519, allocations: 1.679 MB / 477.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1522, allocations: 0.7144 MB / 478.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.1523, allocations: 12.55 kB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1524, allocations: 35.42 kB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1524, allocations: 3.938 kB / 478.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.1665, allocations: 3.152 MB / 481.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.1668, allocations: 245.4 kB / 481.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.012, allocations: 3.938 kB / 481.7 MB, free: 1.43 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches