Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001613/0.001613, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002107/0.002107, allocations: 216.3 kB / 24.53 MB, free: 4.066 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 46.95 MB / 361.7 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 66.03 MB / 0.5615 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003351/0.3229, allocations: 1.959 MB / 0.5634 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3247, allocations: 1.084 MB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.3248, allocations: 11.94 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3251, allocations: 43.7 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3254, allocations: 99.47 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.3256, allocations: 99.64 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.3258, allocations: 147.5 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.326, allocations: 19.58 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3261, allocations: 63.7 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3262, allocations: 59.64 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3262, allocations: 4 kB / 0.565 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.3263, allocations: 51.98 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.3264, allocations: 27.91 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.3264, allocations: 51.62 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3267, allocations: 155.2 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3267, allocations: 0 / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3267, allocations: 0 / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3267, allocations: 0 / 0.5652 GB, free: 0.6055 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.00063/0.3273, allocations: 419.1 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3274, allocations: 8.031 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.3274, allocations: 12.19 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.3274, allocations: 34.75 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.3275, allocations: 16.84 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3278, allocations: 175 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3278, allocations: 8.125 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.3278, allocations: 8 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.328, allocations: 108.2 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.328, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3281, allocations: 3.938 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3281, allocations: 4 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.3282, allocations: 59.88 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.3288, allocations: 484 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.3292, allocations: 82.67 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.3293, allocations: 36.83 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3293, allocations: 3.938 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.3295, allocations: 87.31 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3295, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004135/0.3299, allocations: 145.4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3299, allocations: 55.41 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3301, allocations: 203.1 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3302, allocations: 29.7 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3303, allocations: 116.1 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3303, allocations: 31.73 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3303, allocations: 29.7 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3305, allocations: 326.8 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.3306, allocations: 27.98 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3307, allocations: 64.27 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3309, allocations: 104.1 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3309, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.3312, allocations: 137.8 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3312, allocations: 4.094 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3312, allocations: 7.938 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3312, allocations: 3.938 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3313, allocations: 23.98 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3313, allocations: 3.938 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.3314, allocations: 15.89 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3314, allocations: 8.125 kB / 0.568 GB, free: 13.53 MB / 414.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.0001171/0.3315, allocations: 129.8 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3315, allocations: 11.91 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.3318, allocations: 130.9 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3318, allocations: 0 / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3318, allocations: 0 / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3319, allocations: 4 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.332, allocations: 176.7 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.332, allocations: 7.938 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.3321, allocations: 15.98 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3321, allocations: 4 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3321, allocations: 7.938 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3321, allocations: 0 / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3321, allocations: 0 / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.3325, allocations: 184.8 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3325, allocations: 16 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3326, allocations: 7.938 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.3326, allocations: 4 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3327, allocations: 7.984 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3327, allocations: 4 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3328, allocations: 143.2 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3328, allocations: 192 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.3331, allocations: 31.92 kB / 0.5688 GB, free: 12.58 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 (9): * Single equations (assignments): 7 * 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.002094/0.3352, allocations: 1.031 MB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3354, allocations: 79.77 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3354, allocations: 4.25 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.3355, allocations: 35.92 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3358, allocations: 43.41 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.338, allocations: 1.758 MB / 0.5717 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.3384, allocations: 0.7162 MB / 0.5724 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.3384, allocations: 17.42 kB / 0.5724 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.3385, allocations: 43.42 kB / 0.5725 GB, free: 8.848 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3385, allocations: 0 / 0.5725 GB, free: 8.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.3637, allocations: 4.049 MB / 0.5764 GB, free: 4.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.87, allocations: 14.47 kB / 0.5765 GB, free: 4.871 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.04236263805069]