Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001151/0.001152, allocations: 107.7 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.001002/0.001002, 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.412/1.412, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.234/0.234, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002045, allocations: 67.89 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.182, allocations: 60.81 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004525/0.1866, allocations: 1.772 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1882, allocations: 0.8498 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1884, allocations: 7.938 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.1888, allocations: 39.83 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1891, allocations: 43.83 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1895, allocations: 95.2 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1898, allocations: 91.69 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1899, allocations: 8.234 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.19, allocations: 39.73 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.1901, allocations: 35.84 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1901, allocations: 0 / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1903, allocations: 39.98 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.1904, allocations: 15.92 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.1904, allocations: 39.72 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1907, allocations: 99.98 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1907, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1907, allocations: 7.984 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1907, allocations: 3.938 kB / 471.8 MB, free: 11.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006601/0.1914, allocations: 411 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1915, allocations: 12.03 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1915, allocations: 30.75 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1916, allocations: 12.83 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1919, allocations: 207.8 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1919, allocations: 384 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1919, allocations: 7.938 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1921, allocations: 57.61 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1921, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1921, allocations: 3.984 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1922, allocations: 4 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.1923, allocations: 19.98 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1927, allocations: 276.9 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1929, allocations: 62.61 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.1931, allocations: 28.84 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.1931, allocations: 0 / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.1934, allocations: 71.3 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1934, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006686/0.1941, allocations: 173.3 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1942, allocations: 51.41 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1944, allocations: 178.2 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1944, allocations: 29.7 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.1945, allocations: 104.1 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1945, allocations: 19.66 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.1946, allocations: 29.7 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1947, allocations: 318.8 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.1948, allocations: 23.94 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.1948, allocations: 41.64 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.195, allocations: 57.7 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.195, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.1952, allocations: 105.4 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1952, allocations: 11.98 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1952, allocations: 0 / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1953, allocations: 0 / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1954, allocations: 12 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1954, allocations: 8.031 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.1954, allocations: 7.922 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.1955, allocations: 4 kB / 474.1 MB, free: 8.98 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 (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.0001245/0.1956, allocations: 133 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1956, allocations: 7.906 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.1957, allocations: 16.7 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1957, allocations: 0 / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1957, allocations: 4 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1957, allocations: 3.938 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.1962, allocations: 391.3 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1962, allocations: 0 / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.1963, allocations: 8 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1963, allocations: 3.938 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1963, allocations: 4 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1963, allocations: 4.359 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1963, allocations: 0 / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1966, allocations: 204.2 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.1967, allocations: 89.02 kB / 475 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.1967, allocations: 7.875 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1968, allocations: 4 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1968, allocations: 11.98 kB / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1969, allocations: 0 / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.197, allocations: 132.9 kB / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.197, allocations: 7.938 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1973, allocations: 27.98 kB / 475.2 MB, free: 7.836 MB / 350.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.001552/0.1989, allocations: 1.098 MB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1991, allocations: 59.95 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1991, allocations: 0 / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.1992, allocations: 31.92 kB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1996, allocations: 28.11 kB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2014, allocations: 1.616 MB / 478 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.2017, allocations: 0.7079 MB / 478.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.2018, allocations: 17.17 kB / 478.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.2019, allocations: 31.42 kB / 478.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2019, allocations: 0 / 478.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.2157, allocations: 3.068 MB / 481.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.2161, allocations: 235 kB / 482.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.129, allocations: 0 / 482.1 MB, free: 1.066 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches