Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001349/0.001349, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001517/0.001517, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2295/0.2295, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.89 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3197, allocations: 66.04 MB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00341/0.3231, allocations: 1.74 MB / 0.5624 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3249, allocations: 0.9832 MB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.325, allocations: 0 / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.3253, allocations: 111.6 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.3257, allocations: 131.5 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.3259, allocations: 79.67 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.3262, allocations: 143.6 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3263, allocations: 11.42 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3264, allocations: 63.75 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.3266, allocations: 75.73 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3266, allocations: 8 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3267, allocations: 67.91 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.3268, allocations: 35.91 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.3268, allocations: 43.67 kB / 0.5641 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.3271, allocations: 159.3 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3271, allocations: 4 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3271, allocations: 7.938 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3271, allocations: 3.984 kB / 0.5642 GB, free: 0.5234 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006683/0.3278, allocations: 385.2 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3279, allocations: 16.02 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.3279, allocations: 34.75 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.328, allocations: 16.84 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3283, allocations: 167.2 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3283, allocations: 384 / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.3283, allocations: 11.94 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3285, allocations: 77.66 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3285, allocations: 7.891 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3286, allocations: 0 / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3286, allocations: 4 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3287, allocations: 39.91 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.3292, allocations: 295.9 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.3295, allocations: 78.48 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.3295, allocations: 24.84 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3296, allocations: 4 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.3297, allocations: 83.31 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3297, allocations: 0 / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009416/0.3307, allocations: 317.2 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3307, allocations: 55.39 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.331, allocations: 271.7 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3311, allocations: 29.7 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.3311, allocations: 116.1 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.3312, allocations: 47.58 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.3313, allocations: 37.7 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3314, allocations: 326.8 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.442e-05/0.3315, allocations: 39.98 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3316, allocations: 61.62 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3318, allocations: 106.3 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3318, allocations: 0 / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000305/0.3321, allocations: 168.6 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3322, allocations: 8 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3322, allocations: 4.031 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3322, allocations: 3.938 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3323, allocations: 23.98 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3323, allocations: 4 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.3323, allocations: 4 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3324, allocations: 4.109 kB / 0.567 GB, free: 13.5 MB / 414.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 (16): * Single equations (assignments): 16 * 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.000143/0.3325, allocations: 146.5 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3325, allocations: 23.84 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.3329, allocations: 207 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3329, allocations: 8 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3329, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.333, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.3337, allocations: 487 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3337, allocations: 4 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.3338, allocations: 19.98 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3338, allocations: 7.938 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3338, allocations: 4 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3338, allocations: 4 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3338, allocations: 8 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.3342, allocations: 284 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.3342, allocations: 15.86 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.3342, allocations: 8 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.248e-05/0.3343, allocations: 7.969 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.3344, allocations: 15.98 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3344, allocations: 7.938 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.3346, allocations: 201.5 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3346, allocations: 0 / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.3349, allocations: 35.94 kB / 0.5684 GB, free: 11.95 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 (16): * Single equations (assignments): 14 * 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.002615/0.3375, allocations: 1.252 MB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3378, allocations: 103.8 kB / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3378, allocations: 0 / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3379, allocations: 59.84 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3383, allocations: 50.78 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.341, allocations: 2.034 MB / 0.5718 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3411, allocations: 119.2 kB / 0.5719 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.3412, allocations: 29.41 kB / 0.572 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3413, allocations: 55.41 kB / 0.572 GB, free: 8.359 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3413, allocations: 0 / 0.572 GB, free: 8.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.3754, allocations: 5.129 MB / 0.577 GB, free: 3.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.09, allocations: 3.75 kB / 0.577 GB, free: 3.297 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.089653434988577]