Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.00087/0.00087, allocations: 75.7 kB / 20.02 MB, free: 4.504 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.0009674/0.0009674, allocations: 169.9 kB / 23.31 MB, free: 1.207 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.8667/0.8667, allocations: 158.6 MB / 185.1 MB, free: 3.016 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.129/0.129, allocations: 32.36 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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.489e-05, allocations: 9.938 kB / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002398/0.002423, allocations: 1.603 MB / 408.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003525, allocations: 1.06 MB / 409.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.003585, allocations: 4 kB / 409.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.00382, allocations: 23.86 kB / 409.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.00403, allocations: 47.66 kB / 409.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.00433, allocations: 147.6 kB / 410 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004462, allocations: 71.75 kB / 410 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.004556, allocations: 16 kB / 410 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.004615, allocations: 39.84 kB / 410.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.004705, allocations: 19.97 kB / 410.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.004725, allocations: 4 kB / 410.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.004833, allocations: 47.91 kB / 410.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.004897, allocations: 23.91 kB / 410.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.004934, allocations: 15.94 kB / 410.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.005139, allocations: 107.6 kB / 410.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.005142, allocations: 0 / 410.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005144, allocations: 0 / 410.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005149, allocations: 0 / 410.3 MB, free: 10.16 MB / 346.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.0004242/0.005573, allocations: 333.7 kB / 410.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.005612, allocations: 8.031 kB / 410.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.005643, allocations: 34.75 kB / 410.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.00568, allocations: 8.891 kB / 410.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.005833, allocations: 141.6 kB / 410.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005843, allocations: 4.375 kB / 410.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.005865, allocations: 4.375 kB / 410.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.006047, allocations: 105.6 kB / 410.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006057, allocations: 192 / 410.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006069, allocations: 7.938 kB / 410.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.006075, allocations: 4 kB / 410.9 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.006155, allocations: 35.97 kB / 411 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.006479, allocations: 271.9 kB / 411.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.006566, allocations: 42.5 kB / 411.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.006609, allocations: 32.92 kB / 411.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.006629, allocations: 4 kB / 411.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.00665, allocations: 34.56 kB / 411.3 MB, free: 8.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006651, allocations: 4 kB / 411.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005033/0.007154, allocations: 221.4 kB / 411.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.007196, allocations: 81.11 kB / 411.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.00731, allocations: 149.7 kB / 411.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.007321, allocations: 25.7 kB / 411.8 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.007369, allocations: 96.12 kB / 411.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.007394, allocations: 27.75 kB / 411.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.007423, allocations: 17.72 kB / 412 MB, free: 8.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.00751, allocations: 326.8 kB / 412.3 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.007576, allocations: 39.91 kB / 412.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.007653, allocations: 79.38 kB / 412.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.007774, allocations: 93.05 kB / 412.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007775, allocations: 0 / 412.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001706/0.007945, allocations: 125.5 kB / 412.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.007959, allocations: 7.984 kB / 412.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.007965, allocations: 4 kB / 412.6 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007978, allocations: 4 kB / 412.6 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.008066, allocations: 19.98 kB / 412.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.008073, allocations: 0 / 412.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.008119, allocations: 11.98 kB / 412.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.008126, allocations: 0 / 412.7 MB, free: 7.582 MB / 346.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.545e-05/0.008201, allocations: 121.8 kB / 412.8 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.008222, allocations: 7.953 kB / 412.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.008444, allocations: 146.3 kB / 412.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008446, allocations: 0 / 412.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.008451, allocations: 0 / 412.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008455, allocations: 0 / 412.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.008836, allocations: 377.5 kB / 413.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.008838, allocations: 0 / 413.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.008884, allocations: 19.98 kB / 413.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.008887, allocations: 4 kB / 413.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.008896, allocations: 0 / 413.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.008898, allocations: 0 / 413.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.0089, allocations: 3.938 kB / 413.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.009083, allocations: 219.4 kB / 413.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.009097, allocations: 11.94 kB / 413.5 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.009112, allocations: 4 kB / 413.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.009162, allocations: 11.98 kB / 413.6 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.009204, allocations: 7.938 kB / 413.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.009209, allocations: 4 kB / 413.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.009266, allocations: 118.2 kB / 413.7 MB, free: 6.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009266, allocations: 3.938 kB / 413.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.009448, allocations: 27.92 kB / 413.7 MB, free: 6.434 MB / 346.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.001004/0.01045, allocations: 1.112 MB / 414.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.01064, allocations: 87.88 kB / 414.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01064, allocations: 0 / 414.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.01071, allocations: 47.97 kB / 415 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01097, allocations: 23.2 kB / 415 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.01228, allocations: 1.605 MB / 416.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.01234, allocations: 94.92 kB / 416.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.01242, allocations: 25.17 kB / 416.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.01249, allocations: 28.48 kB / 416.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01249, allocations: 0 / 416.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.03004, allocations: 3.895 MB / 420.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.982, allocations: 3.906 kB / 420.6 MB, free: 15.3 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_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_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.012847386300564]