Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.0008719/0.0008719, 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.002764/0.002764, allocations: 169.9 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.8584/0.8584, allocations: 158.6 MB / 185 MB, free: 3.02 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.36 MB / 269.6 MB, free: 14.98 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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.624e-05, allocations: 6.078 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00199/0.002006, allocations: 1.599 MB / 408.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.002425, allocations: 347.2 kB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.002472, allocations: 0 / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.002701, allocations: 75.64 kB / 408.9 MB, free: 204 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.002852, allocations: 59.75 kB / 408.9 MB, free: 144 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.0031, allocations: 159.6 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003239, allocations: 87.69 kB / 409.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.003333, allocations: 7.984 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.00339, allocations: 47.88 kB / 409.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.003468, allocations: 47.89 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003484, allocations: 4 kB / 409.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.003542, allocations: 27.98 kB / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.003601, allocations: 31.91 kB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.003629, allocations: 15.94 kB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.003768, allocations: 107.6 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00377, allocations: 3.938 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003771, allocations: 3.938 kB / 409.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003775, allocations: 0 / 409.5 MB, free: 15.61 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.0003612/0.004136, allocations: 345.6 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.00417, allocations: 8.031 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.004198, allocations: 34.75 kB / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.004221, allocations: 8.891 kB / 409.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004352, allocations: 154.2 kB / 410 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.004363, allocations: 8.375 kB / 410 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.004379, allocations: 384 / 410 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.004497, allocations: 62.23 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.004508, allocations: 4.125 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004516, allocations: 3.938 kB / 410.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004521, allocations: 0 / 410.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/0.004608, allocations: 43.95 kB / 410.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.0049, allocations: 275.8 kB / 410.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.004981, allocations: 46.55 kB / 410.4 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.005021, allocations: 32.86 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.00504, allocations: 4 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.005057, allocations: 30.56 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.005058, allocations: 0 / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004823/0.00554, allocations: 237.3 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.005567, allocations: 51.41 kB / 410.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.005704, allocations: 214.8 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.005714, allocations: 25.7 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.00576, allocations: 112.1 kB / 411.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.005781, allocations: 27.78 kB / 411.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.005808, allocations: 21.66 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.005882, allocations: 330.8 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.005943, allocations: 39.97 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.005998, allocations: 35.97 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.006114, allocations: 89.02 kB / 411.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006116, allocations: 3.984 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001502/0.006266, allocations: 133.5 kB / 411.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.006276, allocations: 4 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006281, allocations: 4 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.00629, allocations: 0 / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.00636, allocations: 19.98 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.006365, allocations: 4 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.006396, allocations: 7.984 kB / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.006402, allocations: 8 kB / 411.8 MB, free: 13.03 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 6.809e-05/0.00647, allocations: 137.7 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.006487, allocations: 7.953 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.006672, allocations: 143 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006674, allocations: 0 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.006678, allocations: 0 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00668, allocations: 0 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.006998, allocations: 385.5 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006999, allocations: 0 / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.007039, allocations: 23.92 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.007042, allocations: 3.984 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.007049, allocations: 0 / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.007051, allocations: 4 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007053, allocations: 3.938 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.00722, allocations: 219.4 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.007232, allocations: 15.91 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.007245, allocations: 4 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.007291, allocations: 11.98 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.007326, allocations: 11.92 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.007329, allocations: 3.938 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.584e-05/0.007414, allocations: 159.2 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007414, allocations: 0 / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007578, allocations: 23.94 kB / 413 MB, free: 11.82 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.0009277/0.008506, allocations: 1.067 MB / 414 MB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.008683, allocations: 95.84 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008684, allocations: 4 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.008748, allocations: 43.97 kB / 414.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.008984, allocations: 31.8 kB / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.01035, allocations: 1.773 MB / 416 MB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.01042, allocations: 100.3 kB / 416.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.01047, allocations: 16.72 kB / 416.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.01052, allocations: 32.48 kB / 416.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01052, allocations: 8 kB / 416.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.02463, allocations: 3.843 MB / 420 MB, free: 4.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.112, allocations: 12.02 kB / 420 MB, free: 4.57 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_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_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.222183736041188]