Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001274/0.001274, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008878/0.0008878, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9208/0.9208, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2985/0.2985, allocations: 32.79 MB / 293.5 MB, free: 1.254 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.747e-05, allocations: 2.281 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003074/0.003111, allocations: 1.71 MB / 441.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.004634, allocations: 0.9703 MB / 442.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.004733, allocations: 3.938 kB / 442.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.005065, allocations: 39.81 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.005408, allocations: 107.4 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.005633, allocations: 79.66 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.005809, allocations: 103.6 kB / 442.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005914, allocations: 7.984 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.006015, allocations: 55.89 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.006089, allocations: 27.91 kB / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.006107, allocations: 4 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.006202, allocations: 55.78 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.00626, allocations: 19.94 kB / 442.9 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.006301, allocations: 19.92 kB / 442.9 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.006493, allocations: 123.6 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.006498, allocations: 3.938 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006499, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.006503, allocations: 0 / 443 MB, free: 0.8359 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.0004627/0.006966, allocations: 353.5 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.007006, allocations: 8.031 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.007038, allocations: 38.69 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.007073, allocations: 8.891 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.007326, allocations: 157.6 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.007338, allocations: 384 / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.007357, allocations: 8.312 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.007489, allocations: 57.98 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007499, allocations: 0 / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.007508, allocations: 0 / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.007514, allocations: 7.984 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.007569, allocations: 23.97 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1887/0.1963, allocations: 267.6 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1965, allocations: 56.69 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.1965, allocations: 20.59 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1965, allocations: 4.469 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.1966, allocations: 64.53 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.1966, allocations: 0 / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004911/0.1971, allocations: 185.6 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1972, allocations: 54 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1973, allocations: 212.2 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.1973, allocations: 29.52 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.1973, allocations: 104.4 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1974, allocations: 29.14 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1974, allocations: 21.41 kB / 444.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.1974, allocations: 326.2 kB / 445 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.1975, allocations: 22.08 kB / 445 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.1975, allocations: 39.77 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.1976, allocations: 63.95 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1976, allocations: 0.7188 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001163/0.1977, allocations: 110 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1977, allocations: 8.812 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1977, allocations: 3 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1978, allocations: 0 / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.1978, allocations: 18.08 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1978, allocations: 6.266 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.1979, allocations: 6.297 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1979, allocations: 0 / 445.3 MB, free: 45.58 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 7.042e-05/0.198, allocations: 132.2 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.198, allocations: 21.02 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.1982, allocations: 122.1 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1982, allocations: 3.328 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1982, allocations: 2.844 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1982, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.1985, allocations: 369.8 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1985, allocations: 3.531 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.1985, allocations: 11.52 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1985, allocations: 2.875 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1986, allocations: 6.406 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1986, allocations: 2.969 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1986, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1987, allocations: 218.3 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.1987, allocations: 12.12 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1987, allocations: 3 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.1988, allocations: 6.172 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1988, allocations: 12.95 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1988, allocations: 3.25 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.1989, allocations: 160.3 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1989, allocations: 3.938 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.1991, allocations: 20.66 kB / 446.4 MB, free: 44.86 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.0009311/0.2, allocations: 1.145 MB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.2001, allocations: 59.86 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2001, allocations: 0 / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.2002, allocations: 29.55 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2004, allocations: 25.77 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2014, allocations: 1.711 MB / 449.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.15e-05/0.2015, allocations: 103.1 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.2015, allocations: 24.72 kB / 449.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.2015, allocations: 40.42 kB / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2015, allocations: 0 / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.2198, allocations: 4.335 MB / 453.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.179, allocations: 13.22 kB / 453.8 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_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_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.409481776878238]