Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001529/0.001529, allocations: 207.8 kB / 23.72 MB, free: 4.496 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2466/0.2466, allocations: 44.94 MB / 358.9 MB, free: 6.035 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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.002085/0.002085, allocations: 71.91 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004029/0.3654, allocations: 1.725 MB / 0.5587 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3673, allocations: 0.9676 MB / 0.5597 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.3674, allocations: 0 / 0.5597 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.3677, allocations: 99.67 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.3682, allocations: 119.5 kB / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3684, allocations: 83.67 kB / 0.56 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.3687, allocations: 123.7 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3688, allocations: 13.81 kB / 0.5601 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3689, allocations: 59.75 kB / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.3691, allocations: 71.67 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3691, allocations: 8 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3693, allocations: 55.98 kB / 0.5603 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.3694, allocations: 31.92 kB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.3694, allocations: 35.72 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.3697, allocations: 139.4 kB / 0.5605 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3697, allocations: 0 / 0.5605 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3697, allocations: 0 / 0.5605 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3697, allocations: 4 kB / 0.5605 GB, free: 3.965 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.0005924/0.3703, allocations: 375.7 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3703, allocations: 12.02 kB / 0.5609 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.3704, allocations: 38.75 kB / 0.5609 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3704, allocations: 16.84 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3707, allocations: 167 kB / 0.5611 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3707, allocations: 8.312 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3708, allocations: 3.938 kB / 0.5611 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3709, allocations: 61.66 kB / 0.5611 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3709, allocations: 0 / 0.5611 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3709, allocations: 11.98 kB / 0.5611 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.371, allocations: 0 / 0.5611 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.371, allocations: 23.92 kB / 0.5612 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.3715, allocations: 271.9 kB / 0.5614 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3717, allocations: 66.55 kB / 0.5615 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.3718, allocations: 24.91 kB / 0.5615 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3718, allocations: 3.938 kB / 0.5615 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.372, allocations: 67.39 kB / 0.5616 GB, free: 2.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.372, allocations: 0 / 0.5616 GB, free: 2.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008114/0.3728, allocations: 257.7 kB / 0.5618 GB, free: 2.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3728, allocations: 55.34 kB / 0.5619 GB, free: 2.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3731, allocations: 243 kB / 0.5621 GB, free: 2.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3731, allocations: 33.7 kB / 0.5621 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.3732, allocations: 112.1 kB / 0.5623 GB, free: 1.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.3733, allocations: 31.75 kB / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.3733, allocations: 25.7 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3735, allocations: 330.8 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.3735, allocations: 27.98 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.3736, allocations: 45.64 kB / 0.5627 GB, free: 1.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3738, allocations: 81.75 kB / 0.5628 GB, free: 1.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3738, allocations: 4 kB / 0.5628 GB, free: 1.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002481/0.374, allocations: 137.5 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3741, allocations: 4 kB / 0.5629 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3741, allocations: 4 kB / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3741, allocations: 3.984 kB / 0.5629 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.3742, allocations: 23.94 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3742, allocations: 4 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.3742, allocations: 3.984 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3742, allocations: 4 kB / 0.563 GB, free: 1.223 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.0001174/0.3743, allocations: 129.8 kB / 0.5631 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.3744, allocations: 23.92 kB / 0.5631 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.3747, allocations: 151 kB / 0.5632 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3747, allocations: 11.92 kB / 0.5633 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3747, allocations: 0 / 0.5633 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3747, allocations: 4 kB / 0.5633 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.3754, allocations: 431.1 kB / 0.5637 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3754, allocations: 0 / 0.5637 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.3754, allocations: 15.94 kB / 0.5637 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3754, allocations: 4 kB / 0.5637 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3754, allocations: 8.062 kB / 0.5637 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3754, allocations: 4 kB / 0.5637 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3754, allocations: 3.984 kB / 0.5637 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.3758, allocations: 241 kB / 0.5639 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.3758, allocations: 11.91 kB / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3758, allocations: 7.984 kB / 0.564 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.3759, allocations: 4 kB / 0.564 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3759, allocations: 15.92 kB / 0.564 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.376, allocations: 4 kB / 0.564 GB, free: 76 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3761, allocations: 175.3 kB / 0.5641 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3761, allocations: 8 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3764, allocations: 27.94 kB / 0.5642 GB, free: 15.86 MB / 414.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.00264/0.3791, allocations: 1.219 MB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3793, allocations: 79.91 kB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3793, allocations: 0 / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.3794, allocations: 39.92 kB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3798, allocations: 50.67 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.3822, allocations: 1.854 MB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3823, allocations: 105.8 kB / 0.5674 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.3823, allocations: 20.58 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.3824, allocations: 51.41 kB / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3824, allocations: 0 / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.4169, allocations: 4.627 MB / 0.572 GB, free: 7.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 19.17 kB / 0.572 GB, free: 7.98 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.617618845310062]