Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001788/0.001788, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00206/0.00206, allocations: 214.2 kB / 23.74 MB, free: 4.656 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.92 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3859, allocations: 65.47 MB / 0.5571 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003613/0.3895, allocations: 1.742 MB / 0.5588 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3914, allocations: 1.045 MB / 0.5598 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.3914, allocations: 7.875 kB / 0.5598 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.3918, allocations: 83.75 kB / 0.5599 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3921, allocations: 119.5 kB / 0.56 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3923, allocations: 79.67 kB / 0.5601 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3925, allocations: 107.7 kB / 0.5602 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.3926, allocations: 13.81 kB / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3927, allocations: 59.7 kB / 0.5603 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3929, allocations: 75.73 kB / 0.5603 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3929, allocations: 4 kB / 0.5603 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.393, allocations: 43.98 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.393, allocations: 19.92 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3931, allocations: 35.69 kB / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3933, allocations: 127.5 kB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3933, allocations: 0 / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3933, allocations: 0 / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3933, allocations: 0 / 0.5606 GB, free: 4.059 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005877/0.3939, allocations: 361.4 kB / 0.5609 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.394, allocations: 12.03 kB / 0.5609 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.394, allocations: 34.75 kB / 0.5609 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.394, allocations: 12.84 kB / 0.561 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3943, allocations: 158.8 kB / 0.5611 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3944, allocations: 384 / 0.5611 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3944, allocations: 11.94 kB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3945, allocations: 49.67 kB / 0.5612 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3946, allocations: 7.922 kB / 0.5612 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3946, allocations: 4 kB / 0.5612 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3946, allocations: 4 kB / 0.5612 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/0.3947, allocations: 23.92 kB / 0.5612 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3951, allocations: 264 kB / 0.5615 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3953, allocations: 54.62 kB / 0.5615 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.3953, allocations: 24.84 kB / 0.5615 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3953, allocations: 0 / 0.5615 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3955, allocations: 67.39 kB / 0.5616 GB, free: 2.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.757e-06/0.3955, allocations: 3.984 kB / 0.5616 GB, free: 2.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.3961, allocations: 173.3 kB / 0.5618 GB, free: 2.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3961, allocations: 55.41 kB / 0.5618 GB, free: 2.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3964, allocations: 227.4 kB / 0.562 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3964, allocations: 33.64 kB / 0.5621 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.3965, allocations: 112.1 kB / 0.5622 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.3966, allocations: 23.8 kB / 0.5622 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3966, allocations: 21.7 kB / 0.5622 GB, free: 2.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3968, allocations: 322.8 kB / 0.5625 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.3968, allocations: 24.36 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.3969, allocations: 41.64 kB / 0.5626 GB, free: 1.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.397, allocations: 65.77 kB / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.397, allocations: 4 kB / 0.5627 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.3972, allocations: 105.5 kB / 0.5628 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3972, allocations: 4 kB / 0.5628 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3973, allocations: 0 / 0.5628 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3973, allocations: 4 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3974, allocations: 12 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3974, allocations: 4.016 kB / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.3974, allocations: 15.94 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3974, allocations: 0 / 0.5628 GB, free: 1.547 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001306/0.3976, allocations: 129.8 kB / 0.5629 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3976, allocations: 19.84 kB / 0.5629 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3978, allocations: 111.1 kB / 0.563 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3978, allocations: 0 / 0.563 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3978, allocations: 4 kB / 0.5631 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.3978, allocations: 3.938 kB / 0.5631 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.3983, allocations: 366.4 kB / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3983, allocations: 0 / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3983, allocations: 15.98 kB / 0.5634 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.3983, allocations: 4.125 kB / 0.5634 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3984, allocations: 4 kB / 0.5634 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3984, allocations: 3.938 kB / 0.5634 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3984, allocations: 0 / 0.5634 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3986, allocations: 212.2 kB / 0.5636 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.3987, allocations: 7.953 kB / 0.5636 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3987, allocations: 7.938 kB / 0.5636 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.3987, allocations: 7.922 kB / 0.5637 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3988, allocations: 4 kB / 0.5637 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3988, allocations: 11.98 kB / 0.5637 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.399, allocations: 165.2 kB / 0.5638 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 4 kB / 0.5638 GB, free: 404 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3992, allocations: 23.89 kB / 0.5639 GB, free: 380 kB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.00232/0.4015, allocations: 1.1 MB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.4017, allocations: 51.92 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4017, allocations: 0 / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.4018, allocations: 23.98 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.4022, allocations: 40.7 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4042, allocations: 1.719 MB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.4046, allocations: 0.7157 MB / 0.5674 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.4047, allocations: 21.27 kB / 0.5674 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.4048, allocations: 39.42 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4048, allocations: 0 / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.4352, allocations: 3.746 MB / 0.5711 GB, free: 9.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.38, allocations: 4.062 kB / 0.5711 GB, free: 9.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.605204403866082]