Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.0008214/0.0008214, 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.0008692/0.0008692, 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.8757/0.8757, allocations: 158.6 MB / 185 MB, free: 3.047 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.1312/0.1312, 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.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.398e-05, allocations: 5.516 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002006/0.00202, allocations: 1.672 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.002939, allocations: 0.7763 MB / 409.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.003005, allocations: 3.938 kB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.003296, allocations: 43.77 kB / 409.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.00349, allocations: 55.69 kB / 409.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.003688, allocations: 87.7 kB / 409.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.003827, allocations: 103.6 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.003914, allocations: 8.219 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.003991, allocations: 47.91 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.004062, allocations: 31.83 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004078, allocations: 0 / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.004152, allocations: 39.94 kB / 409.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.004202, allocations: 23.92 kB / 409.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.004238, allocations: 27.91 kB / 409.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004393, allocations: 107.6 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004395, allocations: 4 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004396, allocations: 0 / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.0044, allocations: 3.938 kB / 409.9 MB, free: 10.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003894/0.004789, allocations: 329.7 kB / 410.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.004824, allocations: 8.031 kB / 410.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.004854, allocations: 34.73 kB / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.004883, allocations: 8.891 kB / 410.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.005064, allocations: 153.5 kB / 410.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.005076, allocations: 4.375 kB / 410.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.005094, allocations: 4.375 kB / 410.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.005206, allocations: 57.98 kB / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005214, allocations: 0 / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.005221, allocations: 0 / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.005226, allocations: 4 kB / 410.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.005275, allocations: 19.98 kB / 410.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.005559, allocations: 251.9 kB / 410.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.005676, allocations: 62.61 kB / 410.9 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.005708, allocations: 24.84 kB / 410.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.005722, allocations: 0 / 410.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.005834, allocations: 75.38 kB / 411 MB, free: 9.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.005835, allocations: 3.938 kB / 411 MB, free: 9.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003858/0.006221, allocations: 181.3 kB / 411.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.006249, allocations: 51.41 kB / 411.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006361, allocations: 174.3 kB / 411.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.006374, allocations: 29.7 kB / 411.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.006421, allocations: 96.14 kB / 411.5 MB, free: 8.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.006448, allocations: 31.78 kB / 411.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.006479, allocations: 21.72 kB / 411.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.00657, allocations: 330.7 kB / 411.9 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.006604, allocations: 19.98 kB / 411.9 MB, free: 8.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.006647, allocations: 41.7 kB / 411.9 MB, free: 8.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.00672, allocations: 57.7 kB / 412 MB, free: 8.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006721, allocations: 0 / 412 MB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.006842, allocations: 109.5 kB / 412.1 MB, free: 8.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.006856, allocations: 14.69 kB / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006862, allocations: 0 / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006873, allocations: 0 / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.006939, allocations: 12 kB / 412.1 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.006944, allocations: 4.344 kB / 412.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.006972, allocations: 7.922 kB / 412.1 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.006981, allocations: 15.92 kB / 412.1 MB, free: 7.992 MB / 346.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 6.984e-05/0.00705, allocations: 121.8 kB / 412.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.007061, allocations: 7.953 kB / 412.3 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.007223, allocations: 118.4 kB / 412.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.007226, allocations: 8 kB / 412.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.007231, allocations: 3.984 kB / 412.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007235, allocations: 0 / 412.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.007528, allocations: 366.3 kB / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007529, allocations: 0 / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.007555, allocations: 11.98 kB / 412.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.007557, allocations: 4 kB / 412.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007565, allocations: 4 kB / 412.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.007567, allocations: 0 / 412.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.00757, allocations: 11.97 kB / 412.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.007714, allocations: 204.7 kB / 413 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.007728, allocations: 11.94 kB / 413 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.007745, allocations: 7.938 kB / 413 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.007785, allocations: 8 kB / 413 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.007825, allocations: 15.91 kB / 413 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.007843, allocations: 4 kB / 413 MB, free: 7.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.007922, allocations: 139.8 kB / 413.2 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007922, allocations: 0 / 413.2 MB, free: 6.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.008114, allocations: 31.92 kB / 413.2 MB, free: 6.844 MB / 346.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.0009883/0.009103, allocations: 1.129 MB / 414.3 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.00922, allocations: 55.92 kB / 414.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.009221, allocations: 64 / 414.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.009264, allocations: 35.98 kB / 414.4 MB, free: 5.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.009487, allocations: 31.84 kB / 414.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.01061, allocations: 1.622 MB / 416.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.01067, allocations: 85.44 kB / 416.2 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.01071, allocations: 16.42 kB / 416.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.01077, allocations: 36.48 kB / 416.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01077, allocations: 0 / 416.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.0265, allocations: 4.147 MB / 420.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.213, allocations: 0 / 420.4 MB, free: 15.5 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.277328220196068]