Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001918, allocations: 213.8 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 46.9 MB / 361.3 MB, free: 4.426 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.86 kB / 0.4966 GB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3838, allocations: 66.03 MB / 0.5611 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003615/0.3874, allocations: 1.838 MB / 0.5629 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.3895, allocations: 1.118 MB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3896, allocations: 7.875 kB / 0.564 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.3902, allocations: 299.3 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.3907, allocations: 259.2 kB / 0.5645 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.391, allocations: 107.6 kB / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.3914, allocations: 263.2 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.074e-05/0.3915, allocations: 13.8 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.3917, allocations: 139.5 kB / 0.565 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.392, allocations: 208 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.392, allocations: 8 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3921, allocations: 47.98 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3923, allocations: 136.5 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.3924, allocations: 150.8 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.3929, allocations: 368.3 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.3929, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3929, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3929, allocations: 0 / 0.5659 GB, free: 15.7 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.001069/0.394, allocations: 0.7616 MB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.394, allocations: 8.031 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.3941, allocations: 34.73 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.3942, allocations: 52.61 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/0.3949, allocations: 448.4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3949, allocations: 4.375 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3949, allocations: 4.375 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3952, allocations: 103.4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3952, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3952, allocations: 4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.3952, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3953, allocations: 27.98 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.3957, allocations: 374.4 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.396, allocations: 105.2 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3961, allocations: 33.7 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3961, allocations: 3.984 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.3964, allocations: 113 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3964, allocations: 0 / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005262/0.3969, allocations: 205.6 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.397, allocations: 81.11 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3982, allocations: 1.026 MB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3982, allocations: 33.69 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3984, allocations: 232.1 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.3984, allocations: 27.78 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.3985, allocations: 29.7 kB / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3987, allocations: 370.8 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.3988, allocations: 23.98 kB / 0.5699 GB, free: 11.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3989, allocations: 59.3 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3991, allocations: 99.34 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3991, allocations: 0 / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003251/0.3994, allocations: 177.1 kB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3994, allocations: 8 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3994, allocations: 4.062 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3995, allocations: 4 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3996, allocations: 19.98 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3996, allocations: 0 / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.934e-05/0.3997, allocations: 15.88 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3997, allocations: 8 kB / 0.5703 GB, free: 10.96 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.0002332/0.3999, allocations: 217.7 kB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.4, allocations: 59.59 kB / 0.5705 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.4004, allocations: 201.8 kB / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4004, allocations: 0 / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4004, allocations: 256 / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4004, allocations: 0 / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.4008, allocations: 353.4 kB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4008, allocations: 3.938 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.4008, allocations: 8 kB / 0.5711 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4008, allocations: 0 / 0.5711 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4009, allocations: 7.984 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4009, allocations: 0 / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4009, allocations: 4 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.4012, allocations: 213.5 kB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.4014, allocations: 152.6 kB / 0.5714 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.4015, allocations: 4 kB / 0.5714 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.4015, allocations: 7.984 kB / 0.5714 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4016, allocations: 11.98 kB / 0.5714 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.4016, allocations: 8 kB / 0.5714 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008799/0.4025, allocations: 0.7604 MB / 0.5722 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4025, allocations: 0 / 0.5722 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.4028, allocations: 47.98 kB / 0.5722 GB, free: 8.816 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.002142/0.4049, allocations: 1.053 MB / 0.5733 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.4052, allocations: 79.89 kB / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4052, allocations: 0 / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.4053, allocations: 43.92 kB / 0.5734 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4058, allocations: 72.33 kB / 0.5735 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.4121, allocations: 4.485 MB / 0.5778 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.4127, allocations: 0.8503 MB / 0.5787 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.4128, allocations: 59.39 kB / 0.5787 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.4131, allocations: 151.4 kB / 0.5789 GB, free: 2.008 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4131, allocations: 0 / 0.5789 GB, free: 2.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.4494, allocations: 9.09 MB / 0.5877 GB, free: 8.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.023, allocations: 18.23 kB / 0.5878 GB, free: 8.906 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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: 12.13579084398225]