Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001129/0.001129, 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.00103/0.00103, 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.9384/0.9384, allocations: 158.6 MB / 185.1 MB, free: 3 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.1442/0.1442, allocations: 32.37 MB / 269.7 MB, free: 14.91 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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 407.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.122e-05, allocations: 5.938 kB / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002561/0.002582, allocations: 1.653 MB / 408.8 MB, free: 404 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003654, allocations: 0.7531 MB / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.003726, allocations: 4 kB / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.004057, allocations: 67.72 kB / 409.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.004277, allocations: 75.62 kB / 409.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.004468, allocations: 83.69 kB / 409.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004615, allocations: 99.62 kB / 409.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.004655, allocations: 11.98 kB / 409.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.004736, allocations: 47.84 kB / 409.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.004827, allocations: 43.88 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004846, allocations: 4 kB / 410 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.004917, allocations: 31.92 kB / 410 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.004968, allocations: 19.92 kB / 410 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.005007, allocations: 23.92 kB / 410 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.005165, allocations: 91.66 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005166, allocations: 0 / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.005168, allocations: 0 / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005172, allocations: 0 / 410.1 MB, free: 15.04 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.0004185/0.005591, allocations: 333.7 kB / 410.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.005628, allocations: 12.03 kB / 410.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.005655, allocations: 30.75 kB / 410.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.005687, allocations: 16.78 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.005877, allocations: 142.3 kB / 410.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.005889, allocations: 4.375 kB / 410.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.005903, allocations: 8.375 kB / 410.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.006022, allocations: 49.98 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.00603, allocations: 0 / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.006038, allocations: 0 / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.006043, allocations: 0 / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.006089, allocations: 23.97 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.006242, allocations: 144.8 kB / 410.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.006352, allocations: 54.55 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.006387, allocations: 24.84 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.006402, allocations: 4 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.006537, allocations: 67.33 kB / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.006539, allocations: 0 / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002105/0.006749, allocations: 101.6 kB / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.006785, allocations: 55.39 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.006912, allocations: 190.2 kB / 411.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.006923, allocations: 29.7 kB / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.006968, allocations: 104.1 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.007003, allocations: 23.84 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.007032, allocations: 21.7 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.007122, allocations: 322.8 kB / 411.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.007154, allocations: 12 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.007195, allocations: 33.69 kB / 411.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.007264, allocations: 49.64 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.007267, allocations: 0 / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001009/0.007368, allocations: 85.53 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.007394, allocations: 8.016 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.007403, allocations: 8 kB / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.007419, allocations: 0 / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.007487, allocations: 11.94 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.007494, allocations: 0 / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.00753, allocations: 4 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.007536, allocations: 0 / 412.1 MB, free: 12.9 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.905e-05/0.007625, allocations: 129.8 kB / 412.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.00764, allocations: 11.89 kB / 412.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.0078, allocations: 94.12 kB / 412.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007802, allocations: 4 kB / 412.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.007808, allocations: 3.938 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.007812, allocations: 0 / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.007936, allocations: 152.7 kB / 412.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007937, allocations: 0 / 412.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.007953, allocations: 4.375 kB / 412.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.007957, allocations: 7.938 kB / 412.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.00797, allocations: 7.984 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007971, allocations: 0 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.007972, allocations: 0 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.008494, allocations: 113.1 kB / 412.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.008512, allocations: 15.89 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.008531, allocations: 8 kB / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.00855, allocations: 0 / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.008592, allocations: 7.984 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.008608, allocations: 0 / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.008692, allocations: 147.2 kB / 412.8 MB, free: 12.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008692, allocations: 3.938 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.008867, allocations: 19.94 kB / 412.8 MB, free: 12.11 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.001047/0.009914, allocations: 0.9938 MB / 413.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01006, allocations: 43.91 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01006, allocations: 0 / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.01011, allocations: 23.98 kB / 413.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01033, allocations: 23.98 kB / 413.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.01158, allocations: 1.502 MB / 415.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.01165, allocations: 91.31 kB / 415.5 MB, free: 9.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.0117, allocations: 8.484 kB / 415.5 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.01176, allocations: 36.48 kB / 415.5 MB, free: 9.277 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01176, allocations: 0 / 415.5 MB, free: 9.277 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.02942, allocations: 3.88 MB / 419.4 MB, free: 5.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.879, allocations: 3.938 kB / 419.4 MB, free: 5.254 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.131132245063782]