Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009569/0.0009569, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009015/0.0009015, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9172/0.9172, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.488e-05, allocations: 14.16 kB / 442.3 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.1832/0.1832, allocations: 1.708 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1846, allocations: 1.678 MB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.1847, allocations: 0 / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1849, allocations: 39.78 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1851, allocations: 97.69 kB / 445.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.1853, allocations: 82.69 kB / 445.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1854, allocations: 103.3 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.1855, allocations: 13.22 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.1855, allocations: 62.8 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.1856, allocations: 34.44 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1856, allocations: 2.75 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1857, allocations: 111.9 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1858, allocations: 20.45 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.1858, allocations: 23.12 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.186, allocations: 180.8 kB / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.186, allocations: 3.375 kB / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.186, allocations: 0 / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.186, allocations: 0 / 446.4 MB, free: 42.51 MB / 410.7 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.0003561/0.1864, allocations: 355.1 kB / 446.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1864, allocations: 10.75 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.918e-05/0.1864, allocations: 30.75 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1864, allocations: 14.19 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1866, allocations: 145.4 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1867, allocations: 6.281 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1867, allocations: 3.438 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1868, allocations: 104.5 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1868, allocations: 2.906 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1868, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1868, allocations: 3.047 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.1868, allocations: 17.47 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.1871, allocations: 256.8 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1872, allocations: 67.66 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1872, allocations: 20.8 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1872, allocations: 3.938 kB / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.764e-05/0.1873, allocations: 67.72 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.1873, allocations: 0 / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003684/0.1877, allocations: 178.8 kB / 447.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1877, allocations: 80.11 kB / 447.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.1878, allocations: 171.6 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1878, allocations: 25.7 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.1879, allocations: 101.2 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1879, allocations: 21.73 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1879, allocations: 29.58 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.1879, allocations: 325 kB / 448.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.188, allocations: 22.61 kB / 448.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.188, allocations: 70.09 kB / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.1881, allocations: 59.2 kB / 448.5 MB, free: 40.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1881, allocations: 6.938 kB / 448.5 MB, free: 40.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.54e-05/0.1882, allocations: 105.2 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.1882, allocations: 9.156 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1882, allocations: 0 / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1882, allocations: 2.969 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.1882, allocations: 13.06 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1882, allocations: 0 / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.1883, allocations: 12.56 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1883, allocations: 5.344 kB / 448.7 MB, free: 40.56 MB / 410.7 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 4.717e-05/0.1883, allocations: 127.5 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1883, allocations: 9.734 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1885, allocations: 119.1 kB / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1885, allocations: 0 / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1885, allocations: 4.438 kB / 448.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1885, allocations: 3.188 kB / 449 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.1887, allocations: 375.1 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1887, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.1887, allocations: 12 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1887, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1887, allocations: 7.031 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1887, allocations: 0 / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1887, allocations: 3.938 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1888, allocations: 214 kB / 449.5 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.1889, allocations: 16.7 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1889, allocations: 0 / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1889, allocations: 2.5 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1889, allocations: 19.91 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1889, allocations: 2.531 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.189, allocations: 136.1 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.189, allocations: 4 kB / 449.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000177/0.1892, allocations: 51.66 kB / 449.8 MB, free: 39.74 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.000988/0.1902, allocations: 1.22 MB / 451 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1903, allocations: 60.36 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1903, allocations: 0 / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.1903, allocations: 31.77 kB / 451.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1906, allocations: 35.62 kB / 451.1 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.1915, allocations: 1.613 MB / 452.7 MB, free: 37.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.1916, allocations: 91.84 kB / 452.8 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1917, allocations: 20.56 kB / 452.8 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.1917, allocations: 35.2 kB / 452.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1917, allocations: 3.938 kB / 452.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2103, allocations: 4.894 MB / 457.8 MB, free: 35.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.293, allocations: 8.641 kB / 457.8 MB, free: 35.84 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.421189367771149]