Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000809/0.000809, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008337/0.0008337, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.895/0.895, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.58e-05, allocations: 8.812 kB / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002299/0.002325, allocations: 1.712 MB / 441.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003478, allocations: 0.9664 MB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.00356, allocations: 3.938 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.003887, allocations: 39.81 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.004176, allocations: 107.4 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.004341, allocations: 75.67 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004496, allocations: 107.6 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.004589, allocations: 12 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.00467, allocations: 55.88 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.004734, allocations: 19.92 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.00475, allocations: 7.938 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.005095, allocations: 55.84 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.005154, allocations: 15.92 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.005192, allocations: 19.92 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.005394, allocations: 115.6 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005397, allocations: 0 / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005398, allocations: 0 / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.005404, allocations: 0 / 443 MB, free: 0.8125 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.0004938/0.005897, allocations: 361.4 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.005938, allocations: 8.031 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.00597, allocations: 34.69 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.006004, allocations: 12.89 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.006245, allocations: 154.2 kB / 443.5 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.006257, allocations: 384 / 443.5 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.006275, allocations: 4.312 kB / 443.5 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.0064, allocations: 61.98 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006411, allocations: 0 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.00642, allocations: 0 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.006425, allocations: 4 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-05/0.006479, allocations: 19.98 kB / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1785/0.185, allocations: 255.6 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1852, allocations: 54.58 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.1852, allocations: 21.7 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1852, allocations: 6.688 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.1853, allocations: 67.41 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1853, allocations: 0 / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003975/0.1857, allocations: 186.5 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.1858, allocations: 54.31 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1859, allocations: 206.2 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.1859, allocations: 27.39 kB / 444.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.1859, allocations: 102.6 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.1859, allocations: 31.84 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.186, allocations: 25.56 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.998e-05/0.186, allocations: 325.2 kB / 445 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.186, allocations: 18.09 kB / 445 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.186, allocations: 41.42 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.251e-05/0.1861, allocations: 61.03 kB / 445.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1861, allocations: 0 / 445.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.1862, allocations: 112.6 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1862, allocations: 5.5 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1862, allocations: 0 / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1862, allocations: 2.375 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.1863, allocations: 19.08 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1863, allocations: 6.172 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.1863, allocations: 3.516 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1864, allocations: 4.812 kB / 445.2 MB, free: 45.59 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 5.244e-05/0.1864, allocations: 132.2 kB / 445.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.1864, allocations: 13.3 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.1866, allocations: 119.5 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1866, allocations: 6.688 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1866, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1866, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1868, allocations: 377.6 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1868, allocations: 0 / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.1868, allocations: 9.094 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1868, allocations: 2.906 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.1868, allocations: 5.578 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1868, allocations: 1.375 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1868, allocations: 6.375 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1869, allocations: 214.4 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.187, allocations: 17 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.187, allocations: 0 / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.187, allocations: 6.094 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.187, allocations: 10.16 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1871, allocations: 6.844 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.1871, allocations: 148.7 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1871, allocations: 0 / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.1873, allocations: 30.36 kB / 446.3 MB, free: 44.88 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.0008826/0.1882, allocations: 1.144 MB / 447.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1883, allocations: 64.64 kB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1883, allocations: 0 / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.1883, allocations: 28.12 kB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1886, allocations: 21.33 kB / 447.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.1895, allocations: 1.684 MB / 449.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.1895, allocations: 97.36 kB / 449.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.1896, allocations: 19.62 kB / 449.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1896, allocations: 37.53 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1896, allocations: 0 / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.2051, allocations: 4.286 MB / 453.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.37, allocations: 11.05 kB / 453.7 MB, free: 41.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.415181725285947]