Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001214/0.001214, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0008695/0.0008695, allocations: 169.9 kB / 23.31 MB, free: 1.211 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.8255/0.8255, allocations: 158.6 MB / 185.1 MB, free: 3.008 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.1301/0.1301, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 407.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.331e-05, allocations: 6.078 kB / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002377/0.002401, allocations: 1.607 MB / 408.7 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003473, allocations: 1.064 MB / 409.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.003543, allocations: 4 kB / 409.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.003803, allocations: 15.86 kB / 409.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.004027, allocations: 51.64 kB / 409.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.004331, allocations: 151.7 kB / 409.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.004479, allocations: 67.77 kB / 410 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004588, allocations: 15.98 kB / 410 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.004648, allocations: 31.91 kB / 410.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.004745, allocations: 27.89 kB / 410.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.004765, allocations: 4 kB / 410.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.004869, allocations: 47.92 kB / 410.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.004936, allocations: 23.91 kB / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.004969, allocations: 19.94 kB / 410.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.005176, allocations: 111.6 kB / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.005181, allocations: 0 / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.005184, allocations: 0 / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.005191, allocations: 0 / 410.3 MB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004206/0.005612, allocations: 333.7 kB / 410.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.005657, allocations: 8.031 kB / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.005685, allocations: 38.73 kB / 410.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.005717, allocations: 8.891 kB / 410.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.00586, allocations: 129.7 kB / 410.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.005868, allocations: 8.375 kB / 410.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.005889, allocations: 384 / 410.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.006058, allocations: 109.6 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006068, allocations: 192 / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006079, allocations: 7.875 kB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.006085, allocations: 4 kB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.006162, allocations: 35.97 kB / 411 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.00648, allocations: 275.9 kB / 411.2 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.006569, allocations: 42.55 kB / 411.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.006615, allocations: 32.88 kB / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.006641, allocations: 0 / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.006666, allocations: 34.56 kB / 411.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.006668, allocations: 3.984 kB / 411.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005452/0.007214, allocations: 221.3 kB / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.007259, allocations: 77.11 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.00738, allocations: 145.8 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.007394, allocations: 25.7 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.007451, allocations: 100.1 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.007478, allocations: 27.86 kB / 411.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.007514, allocations: 21.7 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.007614, allocations: 318.8 kB / 412.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.007689, allocations: 39.97 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.007775, allocations: 83.38 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.00791, allocations: 93.02 kB / 412.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007911, allocations: 0 / 412.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000186/0.008097, allocations: 129.5 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.008115, allocations: 7.938 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.008121, allocations: 0 / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.008136, allocations: 0 / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.00823, allocations: 19.98 kB / 412.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.008236, allocations: 0 / 412.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.008286, allocations: 15.98 kB / 412.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.008293, allocations: 0 / 412.6 MB, free: 12.3 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 (7): * Single equations (assignments): 7 * 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.698e-05/0.00837, allocations: 125.8 kB / 412.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.00839, allocations: 7.953 kB / 412.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.008624, allocations: 142.3 kB / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008627, allocations: 0 / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.008633, allocations: 0 / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.008638, allocations: 0 / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.009064, allocations: 373.5 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.009066, allocations: 0 / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.009119, allocations: 23.92 kB / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.009123, allocations: 0 / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.009132, allocations: 0 / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.009135, allocations: 0 / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.009138, allocations: 3.938 kB / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.00933, allocations: 227.4 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.009342, allocations: 7.938 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.009355, allocations: 4 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.009404, allocations: 11.98 kB / 413.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.009445, allocations: 11.92 kB / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.00945, allocations: 0 / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.009505, allocations: 114.7 kB / 413.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009505, allocations: 0 / 413.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.009684, allocations: 31.86 kB / 413.7 MB, free: 11.16 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 (7): * Single equations (assignments): 7 * 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.0009859/0.01067, allocations: 1.118 MB / 414.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.01088, allocations: 91.88 kB / 414.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01088, allocations: 0 / 414.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.01095, allocations: 43.95 kB / 415 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01127, allocations: 19.94 kB / 415 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.01274, allocations: 1.613 MB / 416.6 MB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.481e-05/0.01281, allocations: 83.33 kB / 416.7 MB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.761e-05/0.01291, allocations: 33.16 kB / 416.7 MB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.01299, allocations: 28.48 kB / 416.7 MB, free: 8.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01299, allocations: 0 / 416.7 MB, free: 8.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.03258, allocations: 3.889 MB / 420.6 MB, free: 3.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.835, allocations: 0 / 420.6 MB, free: 3.996 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.855662064626813]