Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001258/0.001258, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001136/0.001136, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.826/1.826, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4391/0.4391, allocations: 43.5 MB / 313.6 MB, free: 8.586 MB / 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.001506/0.001506, allocations: 71.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1686, allocations: 57.77 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004051/0.1727, allocations: 1.76 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.175, allocations: 1.375 MB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.1751, allocations: 4 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1754, allocations: 35.84 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.1757, allocations: 51.77 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.176, allocations: 75.84 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1762, allocations: 91.77 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1764, allocations: 16.2 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.1765, allocations: 43.78 kB / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1767, allocations: 39.84 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1767, allocations: 7.938 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1769, allocations: 67.84 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.1769, allocations: 11.98 kB / 443.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.177, allocations: 35.78 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1772, allocations: 119.9 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1773, allocations: 0 / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1773, allocations: 0 / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.1773, allocations: 4 kB / 443.8 MB, free: 10.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000746/0.1781, allocations: 407 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1781, allocations: 15.89 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.1782, allocations: 30.75 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.1782, allocations: 8.844 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1786, allocations: 211.5 kB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1786, allocations: 4.375 kB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1786, allocations: 3.938 kB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1789, allocations: 75.39 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1789, allocations: 3.906 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1789, allocations: 3.984 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1789, allocations: 0 / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.179, allocations: 23.92 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.1795, allocations: 288.9 kB / 444.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1797, allocations: 58.67 kB / 444.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.1798, allocations: 20.84 kB / 445 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1798, allocations: 4 kB / 445 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.18, allocations: 67.33 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.18, allocations: 0 / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.1806, allocations: 177.2 kB / 445.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.1807, allocations: 81.11 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1809, allocations: 149.8 kB / 445.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1809, allocations: 33.69 kB / 445.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.181, allocations: 96.14 kB / 445.6 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.1811, allocations: 27.64 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1811, allocations: 21.72 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1813, allocations: 322.8 kB / 445.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.1813, allocations: 23.98 kB / 445.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.1814, allocations: 42.56 kB / 446 MB, free: 8.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1816, allocations: 61.66 kB / 446 MB, free: 8.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1816, allocations: 192 / 446 MB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.1817, allocations: 97.56 kB / 446.1 MB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1818, allocations: 16 kB / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1818, allocations: 0 / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1818, allocations: 0 / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1819, allocations: 15.94 kB / 446.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1819, allocations: 8.141 kB / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.182, allocations: 11.84 kB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.182, allocations: 4 kB / 446.2 MB, free: 8.25 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 (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.0001109/0.1821, allocations: 113.8 kB / 446.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1822, allocations: 11.91 kB / 446.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.1823, allocations: 28.62 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1823, allocations: 0 / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1823, allocations: 0 / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1823, allocations: 3.938 kB / 446.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.1828, allocations: 387.3 kB / 446.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1828, allocations: 0 / 446.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.1828, allocations: 16.3 kB / 446.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1828, allocations: 3.969 kB / 446.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1828, allocations: 8 kB / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1829, allocations: 4 kB / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1829, allocations: 0 / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1831, allocations: 196.3 kB / 447 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.1832, allocations: 85.02 kB / 447 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1832, allocations: 7.922 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1833, allocations: 12 kB / 447.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1833, allocations: 4 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1834, allocations: 3.984 kB / 447.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1835, allocations: 118.5 kB / 447.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1835, allocations: 0 / 447.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1838, allocations: 31.98 kB / 447.2 MB, free: 7.133 MB / 382.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.001796/0.1856, allocations: 1.148 MB / 448.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1858, allocations: 55.92 kB / 448.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1858, allocations: 0 / 448.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.1859, allocations: 31.92 kB / 448.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1863, allocations: 39.77 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1881, allocations: 1.566 MB / 450 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1884, allocations: 0.6963 MB / 450.7 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.1885, allocations: 17.34 kB / 450.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.1885, allocations: 35.36 kB / 450.8 MB, free: 3.438 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1886, allocations: 0 / 450.8 MB, free: 3.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.2165, allocations: 3.377 MB / 454.2 MB, free: 28 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3114/0.5279, allocations: 231.3 kB / 454.4 MB, free: 51.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.494, allocations: 0 / 454.4 MB, free: 51.02 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches