Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.001922/0.001922, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002426/0.002426, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2231/0.2231, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 67.89 kB / 0.4962 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3747, allocations: 66.03 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003842/0.3785, allocations: 1.955 MB / 0.5626 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3804, allocations: 1.084 MB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3805, allocations: 7.938 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.3808, allocations: 47.64 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3812, allocations: 99.53 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3815, allocations: 99.64 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.3817, allocations: 143.5 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3818, allocations: 23.56 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.382, allocations: 67.7 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3821, allocations: 51.72 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3821, allocations: 4 kB / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3822, allocations: 51.97 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3823, allocations: 27.86 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.3824, allocations: 55.61 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.3827, allocations: 155.2 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3827, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3827, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3827, allocations: 3.938 kB / 0.5645 GB, free: 0.5586 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007032/0.3834, allocations: 411.1 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3834, allocations: 8.031 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.3835, allocations: 46.67 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3835, allocations: 20.78 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.3839, allocations: 175 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3839, allocations: 4.375 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3839, allocations: 11.94 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3842, allocations: 112.2 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3842, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3842, allocations: 4 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3842, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.3844, allocations: 43.97 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.3851, allocations: 492 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.3854, allocations: 82.59 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3855, allocations: 40.84 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3855, allocations: 3.984 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.3857, allocations: 83.36 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.3857, allocations: 0 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004318/0.3862, allocations: 145.4 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3862, allocations: 55.41 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3865, allocations: 199.2 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3865, allocations: 33.7 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.3866, allocations: 112.1 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3866, allocations: 31.73 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.3867, allocations: 33.7 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3868, allocations: 322.8 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.387, allocations: 35.92 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3871, allocations: 68.64 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3873, allocations: 92.16 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3873, allocations: 4 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002855/0.3876, allocations: 137.4 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3876, allocations: 8 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3876, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.3876, allocations: 7.938 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3877, allocations: 23.92 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3877, allocations: 4 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.3878, allocations: 23.94 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3878, allocations: 4 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001279/0.388, allocations: 121.8 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.388, allocations: 15.91 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.3883, allocations: 131 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3883, allocations: 11.92 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3883, allocations: 0 / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3883, allocations: 4 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3885, allocations: 180.7 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3885, allocations: 0 / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.3886, allocations: 15.94 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3886, allocations: 0 / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3886, allocations: 3.984 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3886, allocations: 7.938 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3886, allocations: 0 / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.3891, allocations: 189 kB / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3891, allocations: 11.94 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.3891, allocations: 7.984 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.3892, allocations: 7.938 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3892, allocations: 7.984 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3892, allocations: 4 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3894, allocations: 143.2 kB / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3894, allocations: 0 / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3896, allocations: 32 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002149/0.3918, allocations: 1.015 MB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.3921, allocations: 83.95 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3921, allocations: 0 / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3922, allocations: 35.92 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3925, allocations: 44.86 kB / 0.5692 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3949, allocations: 1.755 MB / 0.5709 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3953, allocations: 0.7162 MB / 0.5716 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.426e-05/0.3954, allocations: 21.42 kB / 0.5717 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.3955, allocations: 47.41 kB / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3955, allocations: 0 / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.4292, allocations: 4.032 MB / 0.5756 GB, free: 4.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.47, allocations: 0 / 0.5756 GB, free: 4.855 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 14.604463945004682]