Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_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.00104/0.00104, allocations: 105.1 kB / 17.32 MB, free: 5.984 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.001039/0.001039, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.314/1.314, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2333/0.2333, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 73.73 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1627, allocations: 60.81 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004067/0.1668, allocations: 1.726 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1683, allocations: 0.838 MB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1685, allocations: 4 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.1689, allocations: 75.83 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1692, allocations: 75.72 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1696, allocations: 95.52 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1698, allocations: 103.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.1698, allocations: 7.984 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.17, allocations: 51.78 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1701, allocations: 51.77 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1701, allocations: 4 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.1702, allocations: 31.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1703, allocations: 19.92 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.1703, allocations: 31.8 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1706, allocations: 107.9 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1706, allocations: 4 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1706, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1706, allocations: 0 / 472 MB, free: 11.39 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.0006321/0.1713, allocations: 414.9 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1713, allocations: 8.031 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.1714, allocations: 34.75 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.1715, allocations: 16.84 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1718, allocations: 212.5 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1718, allocations: 384 / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1718, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.172, allocations: 49.67 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.172, allocations: 0 / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.172, allocations: 4 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.172, allocations: 0 / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1721, allocations: 15.94 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.1723, allocations: 189.7 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1725, allocations: 54.55 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.1726, allocations: 20.84 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1726, allocations: 4 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1729, allocations: 67.33 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1729, allocations: 3.938 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002996/0.1732, allocations: 93.58 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1733, allocations: 51.41 kB / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1735, allocations: 215.5 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1735, allocations: 33.7 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1736, allocations: 104.1 kB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1736, allocations: 19.73 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.1737, allocations: 17.72 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1738, allocations: 330.8 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.1739, allocations: 15.98 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.788e-05/0.1739, allocations: 25.7 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1741, allocations: 53.64 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.1741, allocations: 3.938 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001737/0.1743, allocations: 77.53 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1743, allocations: 10.5 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1743, allocations: 3.984 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1743, allocations: 0 / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.1744, allocations: 8.312 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1744, allocations: 0 / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.1745, allocations: 15.94 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1745, allocations: 4 kB / 474.2 MB, free: 9.004 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.0001225/0.1746, allocations: 133 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1747, allocations: 11.91 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.1747, allocations: 16.98 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1747, allocations: 0 / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1747, allocations: 0 / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1748, allocations: 0 / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1749, allocations: 185.6 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.175, allocations: 8 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.175, allocations: 7.922 kB / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.175, allocations: 0 / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.175, allocations: 4 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.175, allocations: 0 / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.175, allocations: 0 / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1752, allocations: 112.9 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.1753, allocations: 88.95 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1754, allocations: 4 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.1754, allocations: 4 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1755, allocations: 3.984 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.1755, allocations: 4 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1756, allocations: 159.2 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1757, allocations: 0 / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1759, allocations: 12 kB / 474.9 MB, free: 8.172 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.001557/0.1775, allocations: 0.9485 MB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1777, allocations: 47.91 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1777, allocations: 0 / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.1778, allocations: 16 kB / 475.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1781, allocations: 35.53 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.18, allocations: 1.538 MB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1804, allocations: 0.7079 MB / 478.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.1805, allocations: 20.77 kB / 478.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.1805, allocations: 35.42 kB / 478.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1806, allocations: 0 / 478.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.2017, allocations: 3.013 MB / 481.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.202, allocations: 239.2 kB / 481.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.125, allocations: 0 / 481.5 MB, free: 1.672 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches