Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001317/0.001317, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001431/0.001431, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2773/0.2773, allocations: 44.94 MB / 359.6 MB, free: 6.031 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",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.002011/0.002011, allocations: 63.91 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 65.48 MB / 0.5578 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003286/0.3815, allocations: 1.714 MB / 0.5595 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3834, allocations: 0.9793 MB / 0.5604 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.3835, allocations: 0 / 0.5604 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.3838, allocations: 87.7 kB / 0.5605 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.3842, allocations: 123.5 kB / 0.5606 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3844, allocations: 79.73 kB / 0.5607 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3846, allocations: 127.6 kB / 0.5608 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3848, allocations: 22.06 kB / 0.5609 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3849, allocations: 51.78 kB / 0.5609 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.385, allocations: 71.73 kB / 0.561 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.385, allocations: 11.94 kB / 0.561 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3851, allocations: 59.91 kB / 0.561 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.3852, allocations: 31.91 kB / 0.5611 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.3853, allocations: 27.75 kB / 0.5611 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3855, allocations: 143.4 kB / 0.5612 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3856, allocations: 4 kB / 0.5612 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3856, allocations: 4 kB / 0.5612 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3856, allocations: 4 kB / 0.5612 GB, free: 4.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006345/0.3862, allocations: 377.3 kB / 0.5616 GB, free: 3.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3862, allocations: 8.031 kB / 0.5616 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/0.3863, allocations: 8.125 kB / 0.5616 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3863, allocations: 38.75 kB / 0.5617 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.3863, allocations: 12.84 kB / 0.5617 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3866, allocations: 163.1 kB / 0.5618 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3866, allocations: 4.125 kB / 0.5618 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3867, allocations: 8 kB / 0.5618 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3868, allocations: 61.67 kB / 0.5619 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3869, allocations: 0 / 0.5619 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3869, allocations: 0 / 0.5619 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.3869, allocations: 0 / 0.5619 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.387, allocations: 35.91 kB / 0.5619 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.3875, allocations: 267.8 kB / 0.5622 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3877, allocations: 54.56 kB / 0.5622 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.3878, allocations: 20.97 kB / 0.5623 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3878, allocations: 4 kB / 0.5623 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.388, allocations: 79.31 kB / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.388, allocations: 0 / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008417/0.3888, allocations: 257.7 kB / 0.5626 GB, free: 2.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3889, allocations: 55.41 kB / 0.5626 GB, free: 2.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.3891, allocations: 242.9 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3892, allocations: 29.7 kB / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.3892, allocations: 112.1 kB / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3893, allocations: 35.73 kB / 0.563 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.3893, allocations: 29.72 kB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3895, allocations: 326.8 kB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.3896, allocations: 31.98 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.653e-05/0.3897, allocations: 45.7 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.3898, allocations: 81.64 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3898, allocations: 0 / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002521/0.3901, allocations: 137.6 kB / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3901, allocations: 7.938 kB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3901, allocations: 4.031 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3901, allocations: 7.875 kB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.3902, allocations: 23.98 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3902, allocations: 0 / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.3903, allocations: 4 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3903, allocations: 4 kB / 0.5637 GB, free: 1.383 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 (13): * Single equations (assignments): 13 * 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.000142/0.3904, allocations: 140.7 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3904, allocations: 15.89 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.3908, allocations: 155 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3908, allocations: 3.938 kB / 0.564 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3908, allocations: 8 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3908, allocations: 0 / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.3915, allocations: 427.1 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3915, allocations: 0 / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.3915, allocations: 19.98 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3915, allocations: 0 / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3916, allocations: 7.938 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3916, allocations: 3.938 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3916, allocations: 0 / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3919, allocations: 245.1 kB / 0.5647 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.392, allocations: 15.91 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.392, allocations: 4 kB / 0.5647 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.3921, allocations: 4 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.3921, allocations: 7.984 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.3922, allocations: 11.98 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3923, allocations: 175.2 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3923, allocations: 0 / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3926, allocations: 35.92 kB / 0.5649 GB, free: 32 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002963/0.3956, allocations: 1.228 MB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.3958, allocations: 75.91 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3958, allocations: 0 / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.3959, allocations: 47.84 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3963, allocations: 37.19 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.3986, allocations: 1.87 MB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3987, allocations: 97.77 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.092e-05/0.3988, allocations: 16.64 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.3989, allocations: 47.42 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3989, allocations: 7.938 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.4237, allocations: 4.306 MB / 0.5725 GB, free: 8.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 22.61 kB / 0.5725 GB, free: 8.461 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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: 15.1142795329215]