Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.0008515/0.0008515, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001817/0.001817, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9101/0.9101, allocations: 158.6 MB / 185 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1419/0.1419, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.867e-05, allocations: 2.281 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.001952/0.001971, allocations: 1.56 MB / 408.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.002408, allocations: 323.4 kB / 408.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.002456, allocations: 0 / 408.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.002699, allocations: 71.7 kB / 408.8 MB, free: 276 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.002865, allocations: 63.69 kB / 408.9 MB, free: 212 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.003056, allocations: 95.73 kB / 409 MB, free: 116 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.003189, allocations: 63.83 kB / 409 MB, free: 52 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.003287, allocations: 11.94 kB / 409 MB, free: 40 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.003345, allocations: 39.89 kB / 409.1 MB, free: 0 / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.003442, allocations: 43.94 kB / 409.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.00346, allocations: 4 kB / 409.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.003519, allocations: 27.92 kB / 409.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.003565, allocations: 15.94 kB / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.003592, allocations: 15.86 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.003745, allocations: 91.66 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.003747, allocations: 4 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003748, allocations: 0 / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.003752, allocations: 0 / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003787/0.004131, allocations: 321.8 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.004169, allocations: 8.031 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.0042, allocations: 38.73 kB / 409.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.004223, allocations: 8.891 kB / 409.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.004345, allocations: 141.5 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.004352, allocations: 384 / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.004368, allocations: 4.375 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.004461, allocations: 50.19 kB / 409.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00447, allocations: 4.188 kB / 409.8 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.004478, allocations: 7.922 kB / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.004483, allocations: 0 / 409.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.004536, allocations: 19.98 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.004803, allocations: 259.9 kB / 410.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.004957, allocations: 46.44 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.004987, allocations: 24.94 kB / 410.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.005005, allocations: 0 / 410.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.00502, allocations: 42.56 kB / 410.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.005021, allocations: 0 / 410.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003619/0.005383, allocations: 153.3 kB / 410.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.005411, allocations: 51.41 kB / 410.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.005534, allocations: 186.3 kB / 410.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005545, allocations: 29.7 kB / 410.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.005596, allocations: 100.1 kB / 410.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.005615, allocations: 23.84 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.005641, allocations: 17.72 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.005723, allocations: 326.8 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.005761, allocations: 19.98 kB / 411.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.005792, allocations: 23.97 kB / 411.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.777e-05/0.00587, allocations: 56.77 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.00587, allocations: 0 / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.005971, allocations: 81.62 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005984, allocations: 8 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.005989, allocations: 0 / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006, allocations: 3.984 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.741e-05/0.006037, allocations: 12 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.006042, allocations: 0 / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.006061, allocations: 7.984 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.006067, allocations: 4 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.29e-05/0.00613, allocations: 125.7 kB / 411.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.006146, allocations: 11.91 kB / 411.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.006282, allocations: 106 kB / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006284, allocations: 0 / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.006289, allocations: 320 / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006292, allocations: 0 / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.006845, allocations: 325.6 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006847, allocations: 0 / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.006874, allocations: 19.92 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006876, allocations: 7.938 kB / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.006882, allocations: 0 / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006883, allocations: 0 / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006884, allocations: 0 / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.007012, allocations: 191.4 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.00702, allocations: 3.953 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.00703, allocations: 0 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.007063, allocations: 7.984 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.007092, allocations: 4 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.007096, allocations: 3.938 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.687e-05/0.007173, allocations: 156 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007173, allocations: 0 / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.007326, allocations: 8 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008205/0.008146, allocations: 1.043 MB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.00826, allocations: 43.97 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008262, allocations: 11.94 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.008302, allocations: 27.97 kB / 413.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.008518, allocations: 19.81 kB / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.009548, allocations: 1.561 MB / 415 MB, free: 9.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.009606, allocations: 91.31 kB / 415 MB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.009642, allocations: 8 kB / 415.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.009684, allocations: 28.48 kB / 415.1 MB, free: 9.613 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009685, allocations: 0 / 415.1 MB, free: 9.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02449, allocations: 3.422 MB / 418.5 MB, free: 6.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.042, allocations: 3.938 kB / 418.5 MB, free: 6.055 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.21853593736887]