Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001516/0.001516, 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.001467/0.001467, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.514/1.514, allocations: 230.6 MB / 258.3 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.2635/0.2635, allocations: 44.94 MB / 359.6 MB, free: 6.078 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.002363/0.002363, allocations: 63.89 kB / 0.4939 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3648, allocations: 65.46 MB / 0.5578 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004049/0.3689, allocations: 1.895 MB / 0.5596 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3709, allocations: 1.014 MB / 0.5606 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.371, allocations: 8 kB / 0.5606 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3714, allocations: 43.66 kB / 0.5607 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.3717, allocations: 95.53 kB / 0.5608 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3721, allocations: 99.64 kB / 0.5609 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.3723, allocations: 143.5 kB / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3725, allocations: 27.55 kB / 0.561 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3726, allocations: 59.72 kB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3728, allocations: 47.72 kB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.3728, allocations: 12 kB / 0.5611 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3729, allocations: 51.97 kB / 0.5612 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.373, allocations: 27.86 kB / 0.5612 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.3731, allocations: 43.73 kB / 0.5613 GB, free: 4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.3734, allocations: 159.2 kB / 0.5614 GB, free: 3.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3734, allocations: 4 kB / 0.5614 GB, free: 3.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3734, allocations: 0 / 0.5614 GB, free: 3.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3735, allocations: 0 / 0.5614 GB, free: 3.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007743/0.3742, allocations: 403.1 kB / 0.5618 GB, free: 3.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3743, allocations: 12.03 kB / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.834e-05/0.3743, allocations: 4.188 kB / 0.5618 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.3743, allocations: 42.73 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.3744, allocations: 16.84 kB / 0.5619 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3748, allocations: 178.9 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3748, allocations: 12.12 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.3748, allocations: 8 kB / 0.5621 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3751, allocations: 136.7 kB / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3751, allocations: 0 / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3752, allocations: 0 / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3752, allocations: 4 kB / 0.5622 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3753, allocations: 47.97 kB / 0.5622 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.376, allocations: 484 kB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.3764, allocations: 86.66 kB / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3765, allocations: 40.77 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3765, allocations: 7.922 kB / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.3767, allocations: 109.1 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3767, allocations: 3.938 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004477/0.3772, allocations: 153.4 kB / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3772, allocations: 55.41 kB / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3775, allocations: 203.1 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3775, allocations: 29.7 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.3776, allocations: 112.1 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3776, allocations: 31.73 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3777, allocations: 33.72 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3778, allocations: 330.8 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.3779, allocations: 27.98 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.378, allocations: 64.2 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.3782, allocations: 100.2 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3782, allocations: 4 kB / 0.564 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003113/0.3785, allocations: 137.4 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3786, allocations: 6.344 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3786, allocations: 4 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3786, allocations: 3.938 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3787, allocations: 32.39 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3787, allocations: 0 / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.3788, allocations: 16.02 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3788, allocations: 8 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000121/0.3789, allocations: 129.8 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.379, allocations: 19.84 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.3793, allocations: 134.9 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3793, allocations: 4 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3793, allocations: 0 / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3793, allocations: 0 / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3795, allocations: 176.7 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3795, allocations: 4 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.3796, allocations: 15.94 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3796, allocations: 0 / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3796, allocations: 11.92 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3796, allocations: 4 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3796, allocations: 0 / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.38, allocations: 196.9 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.3801, allocations: 15.88 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.3801, allocations: 7.938 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.3802, allocations: 8.062 kB / 0.5649 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.3802, allocations: 7.984 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3802, allocations: 4 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3804, allocations: 151.2 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3804, allocations: 0 / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.3806, allocations: 24 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00243/0.3831, allocations: 1.052 MB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.3834, allocations: 87.77 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3834, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3835, allocations: 40.05 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3838, allocations: 51.45 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.3861, allocations: 1.776 MB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3862, allocations: 105.8 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.689e-05/0.3863, allocations: 17.41 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.3864, allocations: 47.42 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3864, allocations: 0 / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.4137, allocations: 4.216 MB / 0.5723 GB, free: 8.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 7.922 kB / 0.5723 GB, free: 8.434 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.12469707604032]