Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001413/0.001413, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001402/0.001402, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2331/0.2331, allocations: 44.95 MB / 358.9 MB, free: 6.023 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002255/0.002255, allocations: 71.88 kB / 0.4931 GB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3621, allocations: 65.46 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003327/0.3655, allocations: 1.713 MB / 0.5587 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3673, allocations: 0.9948 MB / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.3674, allocations: 0 / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.3677, allocations: 43.77 kB / 0.5597 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.368, allocations: 91.55 kB / 0.5598 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3682, allocations: 75.73 kB / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3684, allocations: 115.6 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.3684, allocations: 21.8 kB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/0.3685, allocations: 39.8 kB / 0.56 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.3686, allocations: 43.83 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3686, allocations: 4 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.3688, allocations: 111.9 kB / 0.5602 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3689, allocations: 19.94 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.369, allocations: 31.8 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3693, allocations: 179.3 kB / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3693, allocations: 0 / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3693, allocations: 0 / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3693, allocations: 0 / 0.5604 GB, free: 4.012 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.0006168/0.3699, allocations: 365.4 kB / 0.5608 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3699, allocations: 12.03 kB / 0.5608 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.37, allocations: 30.75 kB / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.37, allocations: 8.891 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.3703, allocations: 156 kB / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3704, allocations: 384 / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3704, allocations: 11.94 kB / 0.561 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3706, allocations: 101 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3706, allocations: 0 / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3706, allocations: 0 / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3706, allocations: 4 kB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.3707, allocations: 19.98 kB / 0.5611 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3711, allocations: 248 kB / 0.5613 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3713, allocations: 70.55 kB / 0.5614 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.3713, allocations: 28.95 kB / 0.5614 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3714, allocations: 4 kB / 0.5614 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3715, allocations: 67.39 kB / 0.5615 GB, free: 2.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3715, allocations: 3.938 kB / 0.5615 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006349/0.3722, allocations: 225.2 kB / 0.5617 GB, free: 2.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.3722, allocations: 77.11 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.3724, allocations: 173.8 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3725, allocations: 33.7 kB / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.3725, allocations: 96.12 kB / 0.5621 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.3726, allocations: 31.73 kB / 0.5621 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.3726, allocations: 29.7 kB / 0.5621 GB, free: 2.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3728, allocations: 322.8 kB / 0.5624 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.3729, allocations: 31.98 kB / 0.5625 GB, free: 1.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.373, allocations: 95.94 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3731, allocations: 81.58 kB / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3731, allocations: 0 / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002368/0.3734, allocations: 117.6 kB / 0.5628 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3734, allocations: 8 kB / 0.5628 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3734, allocations: 0 / 0.5628 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3734, allocations: 0 / 0.5628 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3735, allocations: 23.92 kB / 0.5628 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3735, allocations: 7.938 kB / 0.5628 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.3736, allocations: 8.062 kB / 0.5628 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3736, allocations: 7.984 kB / 0.5628 GB, free: 1.332 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.0001419/0.3737, allocations: 124.6 kB / 0.5629 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3738, allocations: 11.91 kB / 0.5629 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.3741, allocations: 138.8 kB / 0.5631 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3741, allocations: 0 / 0.5631 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3741, allocations: 7.938 kB / 0.5631 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3741, allocations: 0 / 0.5631 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.3746, allocations: 390.3 kB / 0.5635 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3746, allocations: 7.969 kB / 0.5635 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.3747, allocations: 15.98 kB / 0.5635 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3747, allocations: 0 / 0.5635 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3747, allocations: 12 kB / 0.5635 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3747, allocations: 192 / 0.5635 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3747, allocations: 0 / 0.5635 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.375, allocations: 232.1 kB / 0.5637 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.375, allocations: 15.84 kB / 0.5637 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3751, allocations: 4 kB / 0.5637 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.3751, allocations: 4 kB / 0.5637 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3752, allocations: 11.98 kB / 0.5637 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3752, allocations: 11.98 kB / 0.5638 GB, free: 284 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.3753, allocations: 127.2 kB / 0.5639 GB, free: 156 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 0 / 0.5639 GB, free: 156 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.3756, allocations: 51.86 kB / 0.5639 GB, free: 104 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 (11): * Single equations (assignments): 9 * 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.002716/0.3784, allocations: 1.249 MB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3786, allocations: 75.84 kB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3786, allocations: 0 / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.3787, allocations: 43.86 kB / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.379, allocations: 38.77 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3812, allocations: 1.689 MB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.3813, allocations: 93.31 kB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.3813, allocations: 16.64 kB / 0.567 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.3814, allocations: 39.42 kB / 0.5671 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3814, allocations: 0 / 0.5671 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.4151, allocations: 4.956 MB / 0.5719 GB, free: 8.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 14.19 kB / 0.5719 GB, free: 8.051 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.808347425889224]