Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001351/0.001351, 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.001693/0.001693, allocations: 214.1 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2216/0.2216, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] 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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.002337/0.002337, allocations: 63.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3786, allocations: 65.47 MB / 0.5571 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003488/0.3821, allocations: 1.744 MB / 0.5588 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.385, allocations: 1.746 MB / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.3851, allocations: 0 / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3854, allocations: 39.77 kB / 0.5605 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.3857, allocations: 99.53 kB / 0.5606 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.3859, allocations: 87.59 kB / 0.5607 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3861, allocations: 107.7 kB / 0.5608 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.3862, allocations: 17.83 kB / 0.5608 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3863, allocations: 51.77 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.3865, allocations: 51.77 kB / 0.5609 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3865, allocations: 4 kB / 0.5609 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.3867, allocations: 107.9 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.3868, allocations: 27.86 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.3868, allocations: 35.75 kB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.3871, allocations: 179.3 kB / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3872, allocations: 0 / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3872, allocations: 0 / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3872, allocations: 4 kB / 0.5613 GB, free: 3.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006184/0.3878, allocations: 369.4 kB / 0.5616 GB, free: 2.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3878, allocations: 8.031 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.3879, allocations: 34.69 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3879, allocations: 8.891 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.3882, allocations: 158.3 kB / 0.5618 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3882, allocations: 384 / 0.5618 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3883, allocations: 7.938 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3885, allocations: 83.36 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3885, allocations: 7.953 kB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3885, allocations: 4 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3885, allocations: 0 / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.3886, allocations: 27.92 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.389, allocations: 275.8 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3892, allocations: 66.67 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.3893, allocations: 20.84 kB / 0.5623 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3893, allocations: 4 kB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3894, allocations: 75.31 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3894, allocations: 0 / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005952/0.39, allocations: 205.8 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.3901, allocations: 81.11 kB / 0.5626 GB, free: 1.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3903, allocations: 170.1 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3903, allocations: 33.7 kB / 0.5628 GB, free: 1.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.3904, allocations: 100.1 kB / 0.5629 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3904, allocations: 31.73 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.3905, allocations: 21.72 kB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3907, allocations: 326.9 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.3907, allocations: 31.92 kB / 0.5633 GB, free: 1.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.3908, allocations: 46.5 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.391, allocations: 69.7 kB / 0.5634 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.391, allocations: 0 / 0.5634 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002254/0.3912, allocations: 109.5 kB / 0.5635 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3912, allocations: 12.05 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3912, allocations: 4 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3912, allocations: 0 / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.3913, allocations: 23.94 kB / 0.5636 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3913, allocations: 0 / 0.5636 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.3914, allocations: 7.922 kB / 0.5636 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3914, allocations: 4.078 kB / 0.5636 GB, free: 0.7422 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 (11): * Single equations (assignments): 11 * 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.0001191/0.3915, allocations: 121.8 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3915, allocations: 7.953 kB / 0.5637 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3918, allocations: 142.2 kB / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3918, allocations: 0 / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3918, allocations: 0 / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3918, allocations: 3.938 kB / 0.5639 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.3923, allocations: 390.3 kB / 0.5642 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3923, allocations: 0 / 0.5642 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.3924, allocations: 8.188 kB / 0.5642 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3924, allocations: 7.938 kB / 0.5642 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3924, allocations: 4.141 kB / 0.5643 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3924, allocations: 112 / 0.5643 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3924, allocations: 11.98 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3927, allocations: 212.3 kB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.3927, allocations: 15.91 kB / 0.5645 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.3927, allocations: 11.88 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.3928, allocations: 7.984 kB / 0.5645 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3929, allocations: 8 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3929, allocations: 7.984 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.393, allocations: 128.1 kB / 0.5646 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.393, allocations: 0 / 0.5646 GB, free: 15.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3933, allocations: 51.86 kB / 0.5647 GB, free: 15.53 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: 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.002575/0.3959, allocations: 1.186 MB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3961, allocations: 67.84 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3961, allocations: 64 / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.3962, allocations: 43.91 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3966, allocations: 36.89 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3986, allocations: 1.653 MB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.399, allocations: 0.7045 MB / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.514e-05/0.3991, allocations: 28.56 kB / 0.5683 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.3992, allocations: 43.41 kB / 0.5684 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3992, allocations: 0 / 0.5684 GB, free: 11.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.4351, allocations: 4.365 MB / 0.5726 GB, free: 7.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 13.19 kB / 0.5726 GB, free: 7.512 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.735268472926691]