Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001782/0.001782, 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.002188/0.002188, allocations: 203.6 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2183/0.2183, allocations: 46.94 MB / 360.9 MB, free: 4.027 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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 66.04 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003228/0.2912, allocations: 1.788 MB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2931, allocations: 1.046 MB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.2932, allocations: 0 / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.2937, allocations: 299.3 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.2942, allocations: 255.2 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.2944, allocations: 115.6 kB / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.2947, allocations: 259.2 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.2948, allocations: 5.812 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2949, allocations: 135.6 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.2952, allocations: 215.9 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.2952, allocations: 8 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2953, allocations: 47.98 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2955, allocations: 136.5 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.2956, allocations: 107 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2961, allocations: 380.1 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2961, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2961, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2961, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009854/0.297, allocations: 0.6824 MB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2971, allocations: 12.03 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.2971, allocations: 34.75 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.2972, allocations: 52.59 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.2978, allocations: 390.5 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2978, allocations: 384 / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2979, allocations: 7.938 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2981, allocations: 87.36 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2981, allocations: 0 / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2981, allocations: 4 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2981, allocations: 7.938 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2982, allocations: 35.97 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.2986, allocations: 329.5 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2989, allocations: 109.1 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.299, allocations: 37.7 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.299, allocations: 0 / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.2992, allocations: 113 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2992, allocations: 0 / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005001/0.2997, allocations: 213.6 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.2998, allocations: 81.11 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.3009, allocations: 1.03 MB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3009, allocations: 33.7 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3011, allocations: 232.1 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.3012, allocations: 19.86 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.3012, allocations: 33.7 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3014, allocations: 366.8 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.3015, allocations: 27.98 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3016, allocations: 67.41 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3018, allocations: 95.41 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3018, allocations: 3.938 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003206/0.3021, allocations: 177.2 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3022, allocations: 16 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3022, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3022, allocations: 3.938 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3023, allocations: 23.98 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3023, allocations: 0 / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.3024, allocations: 15.89 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.3024, allocations: 4 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002243/0.3026, allocations: 226.5 kB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.3027, allocations: 51.67 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.3031, allocations: 209.7 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3031, allocations: 0 / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3031, allocations: 256 / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3031, allocations: 7.984 kB / 0.57 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.3034, allocations: 296.5 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3034, allocations: 0 / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.3035, allocations: 15.98 kB / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3035, allocations: 0 / 0.5703 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3035, allocations: 4 kB / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3035, allocations: 4 kB / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3035, allocations: 0 / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3038, allocations: 229.4 kB / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.304, allocations: 67.59 kB / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.304, allocations: 4 kB / 0.5705 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.3041, allocations: 4 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3041, allocations: 7.984 kB / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3042, allocations: 11.98 kB / 0.5706 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008537/0.305, allocations: 0.7643 MB / 0.5713 GB, free: 8.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.305, allocations: 0 / 0.5713 GB, free: 8.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3053, allocations: 51.98 kB / 0.5714 GB, free: 8.848 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002205/0.3075, allocations: 1.106 MB / 0.5724 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3078, allocations: 83.89 kB / 0.5725 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3078, allocations: 0 / 0.5725 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3079, allocations: 43.92 kB / 0.5726 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.3083, allocations: 67.89 kB / 0.5726 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/0.3139, allocations: 4.487 MB / 0.577 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3141, allocations: 241.8 kB / 0.5772 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.3143, allocations: 55.44 kB / 0.5773 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.3145, allocations: 147.4 kB / 0.5774 GB, free: 2.664 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3145, allocations: 4 kB / 0.5774 GB, free: 2.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.3522, allocations: 9.882 MB / 0.5871 GB, free: 8.855 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.55, allocations: 6.531 kB / 0.5871 GB, free: 8.855 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.585430031002034]