Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001327/0.001327, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001564/0.001564, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2366/0.2366, allocations: 44.91 MB / 359.6 MB, free: 6.316 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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.002355/0.002355, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3745, allocations: 65.46 MB / 0.5579 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003601/0.3782, allocations: 1.936 MB / 0.5598 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3803, allocations: 1.151 MB / 0.5609 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3804, allocations: 7.938 kB / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.3809, allocations: 163.5 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.3813, allocations: 179.3 kB / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3816, allocations: 123.6 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.3819, allocations: 247.3 kB / 0.5616 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.382, allocations: 23.77 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3822, allocations: 123.5 kB / 0.5617 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.3824, allocations: 139.5 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3825, allocations: 8 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3826, allocations: 63.97 kB / 0.5619 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.3827, allocations: 59.7 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.3828, allocations: 87.36 kB / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.3832, allocations: 222.9 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3832, allocations: 0 / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3832, allocations: 0 / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.3832, allocations: 0 / 0.5623 GB, free: 3.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007965/0.384, allocations: 488.4 kB / 0.5627 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.384, allocations: 8.031 kB / 0.5627 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.187e-05/0.384, allocations: 8.125 kB / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.3841, allocations: 42.73 kB / 0.5628 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.3841, allocations: 32.75 kB / 0.5628 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3845, allocations: 214.6 kB / 0.563 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3845, allocations: 12.06 kB / 0.563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.3846, allocations: 8 kB / 0.563 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3848, allocations: 114 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3848, allocations: 0 / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.3849, allocations: 4 kB / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3849, allocations: 8 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.385, allocations: 47.89 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.3856, allocations: 432 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.386, allocations: 121.2 kB / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3861, allocations: 41.77 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3861, allocations: 3.984 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3864, allocations: 129 kB / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3864, allocations: 0 / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001348/0.3877, allocations: 497.6 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.3878, allocations: 85.09 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.3882, allocations: 368.5 kB / 0.5648 GB, free: 456 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.3882, allocations: 33.7 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3883, allocations: 148.5 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.3884, allocations: 75.38 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.3885, allocations: 45.64 kB / 0.5651 GB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3887, allocations: 342.8 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3888, allocations: 55.98 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.3889, allocations: 99.27 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3892, allocations: 159.5 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3892, allocations: 0 / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000408/0.3896, allocations: 233.3 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3897, allocations: 8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3897, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3897, allocations: 8.062 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3898, allocations: 47.91 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3898, allocations: 4 kB / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.418e-05/0.3899, allocations: 11.98 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3899, allocations: 11.94 kB / 0.566 GB, free: 15.13 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001577/0.3901, allocations: 162.3 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3901, allocations: 31.75 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.3907, allocations: 263.6 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3907, allocations: 8 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3907, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3907, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.3916, allocations: 0.6911 MB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3916, allocations: 4.125 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.3917, allocations: 31.92 kB / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3917, allocations: 4 kB / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3917, allocations: 8 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3917, allocations: 0 / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3917, allocations: 7.938 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.3922, allocations: 423.5 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.3923, allocations: 23.86 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3923, allocations: 4 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3925, allocations: 11.98 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.3925, allocations: 27.84 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3926, allocations: 12 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002922/0.3929, allocations: 279 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3929, allocations: 0 / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.3932, allocations: 51.92 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002782/0.396, allocations: 1.358 MB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.3965, allocations: 159.7 kB / 0.5695 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3965, allocations: 8.125 kB / 0.5695 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3966, allocations: 67.84 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.3972, allocations: 66.25 kB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.4012, allocations: 2.715 MB / 0.5723 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.4016, allocations: 0.7597 MB / 0.573 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.4018, allocations: 41.92 kB / 0.573 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.4019, allocations: 91.39 kB / 0.5731 GB, free: 7.777 MB / 414.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4019, allocations: 0 / 0.5731 GB, free: 7.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4296, allocations: 6.386 MB / 0.5794 GB, free: 1.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 10.86 kB / 0.5794 GB, free: 1.477 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.17648788104998]