Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001817/0.001817, 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.002227/0.002227, 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2274/0.2274, allocations: 46.96 MB / 360.9 MB, free: 4.008 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 71.89 kB / 0.4962 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3829, allocations: 66.03 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004083/0.3869, allocations: 1.798 MB / 0.5624 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3889, allocations: 1.042 MB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.389, allocations: 0 / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.3896, allocations: 307.3 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.3902, allocations: 259.2 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.3904, allocations: 111.6 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.3908, allocations: 275.2 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.3908, allocations: 5.812 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.391, allocations: 127.6 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.3913, allocations: 223.4 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3913, allocations: 8 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3915, allocations: 52.05 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3916, allocations: 139.6 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3918, allocations: 110.9 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.3923, allocations: 388 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3923, allocations: 0 / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3923, allocations: 4 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.3924, allocations: 0 / 0.5653 GB, free: 15.36 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.001149/0.3935, allocations: 0.6825 MB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3935, allocations: 8.031 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.3936, allocations: 42.67 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.3937, allocations: 52.55 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.3943, allocations: 386.5 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3943, allocations: 8.375 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3944, allocations: 7.938 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3946, allocations: 87.36 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3946, allocations: 0 / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3946, allocations: 4 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3946, allocations: 3.984 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3947, allocations: 31.92 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.3951, allocations: 345.4 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.3954, allocations: 113.1 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.627e-05/0.3955, allocations: 41.7 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3955, allocations: 0 / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.3958, allocations: 116.9 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.035e-06/0.3958, allocations: 3.984 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000495/0.3963, allocations: 205.6 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.3963, allocations: 81.09 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3976, allocations: 1.058 MB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3976, allocations: 33.69 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3978, allocations: 236.1 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3978, allocations: 27.8 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.3979, allocations: 33.7 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3981, allocations: 370.8 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3982, allocations: 32.11 kB / 0.5692 GB, free: 11.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3983, allocations: 63.41 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3985, allocations: 87.36 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.3985, allocations: 11.92 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003119/0.3988, allocations: 177.2 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3989, allocations: 4 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3989, allocations: 4 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3989, allocations: 0 / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.399, allocations: 23.92 kB / 0.5696 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.399, allocations: 4 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.345e-05/0.3991, allocations: 11.92 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3991, allocations: 7.938 kB / 0.5696 GB, free: 10.75 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.0002326/0.3993, allocations: 233.7 kB / 0.5698 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.3994, allocations: 55.62 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3998, allocations: 198.1 kB / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3998, allocations: 64 / 0.57 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3998, allocations: 11.94 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3998, allocations: 0 / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.4002, allocations: 296.5 kB / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4002, allocations: 0 / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.4002, allocations: 11.98 kB / 0.5704 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4002, allocations: 4 kB / 0.5704 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4002, allocations: 8 kB / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4002, allocations: 0 / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4002, allocations: 4 kB / 0.5704 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.4006, allocations: 221.4 kB / 0.5706 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.4008, allocations: 67.59 kB / 0.5706 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.4009, allocations: 4 kB / 0.5706 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.4009, allocations: 11.92 kB / 0.5707 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.401, allocations: 11.98 kB / 0.5707 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.401, allocations: 11.94 kB / 0.5707 GB, free: 9.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009408/0.402, allocations: 0.7878 MB / 0.5715 GB, free: 8.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.402, allocations: 4 kB / 0.5715 GB, free: 8.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.4022, allocations: 43.98 kB / 0.5715 GB, free: 8.711 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.002194/0.4044, allocations: 1.097 MB / 0.5726 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.4048, allocations: 79.91 kB / 0.5726 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4048, allocations: 0 / 0.5726 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4049, allocations: 47.91 kB / 0.5727 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.4054, allocations: 79.92 kB / 0.5728 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/0.4122, allocations: 4.59 MB / 0.5772 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4124, allocations: 237.8 kB / 0.5775 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.4126, allocations: 67.39 kB / 0.5775 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.4128, allocations: 155.4 kB / 0.5777 GB, free: 2.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4128, allocations: 0 / 0.5777 GB, free: 2.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.453, allocations: 10.03 MB / 0.5875 GB, free: 8.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.49, allocations: 7.75 kB / 0.5875 GB, free: 8.445 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.51706767702126]