Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001871/0.001871, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002626/0.002626, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 46.95 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 66.04 MB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003955/0.3757, allocations: 1.725 MB / 0.5624 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3778, allocations: 0.9793 MB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3779, allocations: 0 / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3784, allocations: 111.6 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.3788, allocations: 135.5 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3791, allocations: 71.75 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.3794, allocations: 139.6 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3795, allocations: 13.81 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3796, allocations: 63.69 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3797, allocations: 71.8 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3798, allocations: 8 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3799, allocations: 63.97 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.38, allocations: 35.78 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.38, allocations: 35.73 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.3804, allocations: 167.3 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3804, allocations: 4 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3804, allocations: 0 / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3804, allocations: 0 / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006827/0.381, allocations: 389.2 kB / 0.5646 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3811, allocations: 8.031 kB / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.3811, allocations: 38.75 kB / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.3812, allocations: 12.84 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.3816, allocations: 163.2 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3816, allocations: 12.38 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3816, allocations: 7.938 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3818, allocations: 65.66 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3818, allocations: 4 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3818, allocations: 0 / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3818, allocations: 0 / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3819, allocations: 43.84 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.3824, allocations: 287.8 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3827, allocations: 70.64 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.3828, allocations: 32.78 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3828, allocations: 0 / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.383, allocations: 83.38 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.383, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008647/0.3838, allocations: 293.2 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3839, allocations: 55.34 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.3842, allocations: 263.8 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3842, allocations: 29.7 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.3843, allocations: 112.1 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.3843, allocations: 47.62 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3844, allocations: 29.7 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3845, allocations: 330.8 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.3846, allocations: 35.97 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.3847, allocations: 57.14 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3849, allocations: 89.7 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3849, allocations: 0 / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002591/0.3852, allocations: 153.4 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3852, allocations: 12.03 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3852, allocations: 0 / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3852, allocations: 0 / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.3853, allocations: 27.92 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3853, allocations: 0 / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/0.3853, allocations: 7.953 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3854, allocations: 8 kB / 0.5668 GB, free: 13.67 MB / 414.1 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 (14): * Single equations (assignments): 14 * 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 0.0001223/0.3855, allocations: 137.8 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.3855, allocations: 15.91 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.3859, allocations: 171.7 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3859, allocations: 11.94 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3859, allocations: 0 / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3859, allocations: 0 / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.3865, allocations: 467 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3865, allocations: 0 / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.3866, allocations: 19.98 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3866, allocations: 4 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3866, allocations: 0 / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3866, allocations: 4 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3866, allocations: 4.062 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3869, allocations: 269.3 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.3869, allocations: 19.91 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.387, allocations: 7.922 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3871, allocations: 12 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3871, allocations: 11.97 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3871, allocations: 4 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.3873, allocations: 197.5 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3873, allocations: 0 / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3876, allocations: 39.92 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002627/0.3902, allocations: 1.253 MB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.3905, allocations: 95.84 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3905, allocations: 0 / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3906, allocations: 47.91 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.391, allocations: 32.2 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3934, allocations: 1.978 MB / 0.5715 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3935, allocations: 114.6 kB / 0.5716 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.3936, allocations: 21.06 kB / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/0.3937, allocations: 55.42 kB / 0.5717 GB, free: 8.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3937, allocations: 3.938 kB / 0.5717 GB, free: 8.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.4265, allocations: 4.982 MB / 0.5765 GB, free: 3.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.24, allocations: 4.062 kB / 0.5765 GB, free: 3.805 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.42406792199472]