Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009396/0.0009396, allocations: 80.53 kB / 19.93 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.0008133/0.0008133, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8855/0.8855, allocations: 158.6 MB / 185 MB, free: 3.027 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.1502/0.1502, allocations: 32.36 MB / 269.6 MB, free: 14.96 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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.492e-05, allocations: 5.938 kB / 406.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002208/0.002223, allocations: 1.653 MB / 408.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.003066, allocations: 0.7532 MB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.00313, allocations: 4 kB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.003445, allocations: 71.66 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.003629, allocations: 71.67 kB / 409.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.003801, allocations: 83.66 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003941, allocations: 103.6 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.003981, allocations: 4 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.004062, allocations: 59.81 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.00415, allocations: 39.89 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004169, allocations: 4 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.004237, allocations: 39.86 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.00429, allocations: 19.92 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.004327, allocations: 15.94 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.004476, allocations: 95.69 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004478, allocations: 0 / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004479, allocations: 3.938 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004484, allocations: 0 / 409.9 MB, free: 15.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004413/0.004925, allocations: 321.8 kB / 410.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.004966, allocations: 16.03 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.005001, allocations: 38.73 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.005036, allocations: 12.84 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.005215, allocations: 146.2 kB / 410.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.005227, allocations: 4.375 kB / 410.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.005236, allocations: 4.312 kB / 410.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.005371, allocations: 57.98 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005379, allocations: 0 / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.005388, allocations: 0 / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005393, allocations: 3.984 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.005443, allocations: 19.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.005598, allocations: 144.8 kB / 410.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.005712, allocations: 54.61 kB / 410.7 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.005745, allocations: 20.8 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.005761, allocations: 0 / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.005879, allocations: 75.31 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.005881, allocations: 0 / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002155/0.006096, allocations: 97.62 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.006133, allocations: 59.34 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.006268, allocations: 198.1 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.00628, allocations: 25.7 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.006328, allocations: 100.1 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.006361, allocations: 15.89 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.006392, allocations: 17.72 kB / 411.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.00649, allocations: 322.8 kB / 411.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.006524, allocations: 15.98 kB / 411.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.006561, allocations: 29.7 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.006629, allocations: 49.7 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006631, allocations: 0 / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.00674, allocations: 93.47 kB / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.006754, allocations: 4 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.00676, allocations: 0 / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.006772, allocations: 0 / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.006833, allocations: 15.98 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.006839, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.006868, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.006877, allocations: 7.938 kB / 411.8 MB, free: 13.01 MB / 394.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 (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 8.177e-05/0.006958, allocations: 125.9 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.006976, allocations: 15.83 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.007135, allocations: 98.08 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007137, allocations: 0 / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.007141, allocations: 0 / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007146, allocations: 4 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.007244, allocations: 156.7 kB / 412.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.007246, allocations: 384 / 412.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.007264, allocations: 4 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.007268, allocations: 7.938 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.007275, allocations: 4 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.007278, allocations: 7.938 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00728, allocations: 0 / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007383, allocations: 109.1 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.007399, allocations: 15.89 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.007414, allocations: 3.984 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.007432, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.007462, allocations: 4 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.007475, allocations: 7.984 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.136e-05/0.007556, allocations: 140.1 kB / 412.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007556, allocations: 4 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.00771, allocations: 23.92 kB / 412.6 MB, free: 12.21 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: 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 (6): * Single equations (assignments): 4 * 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.0008624/0.008572, allocations: 0.9898 MB / 413.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.008685, allocations: 39.98 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.008688, allocations: 0 / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.008725, allocations: 23.92 kB / 413.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.008914, allocations: 23.92 kB / 413.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.01039, allocations: 1.502 MB / 415.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.489e-05/0.01045, allocations: 91.25 kB / 415.2 MB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.01049, allocations: 8.5 kB / 415.2 MB, free: 9.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.01054, allocations: 28.48 kB / 415.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01054, allocations: 0 / 415.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.02596, allocations: 3.868 MB / 419.1 MB, free: 5.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.37, allocations: 15.88 kB / 419.2 MB, free: 5.375 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.645823556929827]