Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001864/0.001864, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002495/0.002495, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.92 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 71.88 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3519, allocations: 66.09 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004195/0.356, allocations: 1.845 MB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3585, allocations: 1.115 MB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3587, allocations: 3.938 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.3594, allocations: 303.2 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006306/0.36, allocations: 251.2 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.3603, allocations: 107.6 kB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.3607, allocations: 271.2 kB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.3608, allocations: 5.812 kB / 0.5646 GB, free: 396 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.361, allocations: 139.5 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3613, allocations: 212 kB / 0.5649 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.3613, allocations: 8 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3615, allocations: 51.97 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3616, allocations: 132.5 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3618, allocations: 146.8 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.3623, allocations: 376.1 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3623, allocations: 0 / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3623, allocations: 0 / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3623, allocations: 0 / 0.5656 GB, free: 15.34 MB / 414.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.001139/0.3634, allocations: 0.6824 MB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3635, allocations: 8.031 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/0.3635, allocations: 34.75 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.3636, allocations: 52.61 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.3644, allocations: 394.5 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3644, allocations: 384 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3644, allocations: 4.375 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3646, allocations: 99.42 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3646, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3646, allocations: 0 / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3647, allocations: 4 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3648, allocations: 27.98 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.3652, allocations: 341.5 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.3655, allocations: 105.2 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.3656, allocations: 41.69 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3656, allocations: 0 / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.3659, allocations: 117 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.3659, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005127/0.3664, allocations: 201.2 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.3664, allocations: 81.09 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3676, allocations: 1.03 MB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3676, allocations: 29.7 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3678, allocations: 236.1 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.3678, allocations: 27.84 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3679, allocations: 25.72 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3681, allocations: 366.8 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.3682, allocations: 31.92 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3683, allocations: 63.36 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3685, allocations: 99.84 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3685, allocations: 0 / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003017/0.3688, allocations: 169.2 kB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3688, allocations: 8 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3688, allocations: 0 / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3688, allocations: 4.062 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3689, allocations: 23.98 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3689, allocations: 3.938 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3691, allocations: 19.88 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3691, allocations: 4 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002335/0.3693, allocations: 216 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.3694, allocations: 55.61 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.3698, allocations: 197.8 kB / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3698, allocations: 4 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3698, allocations: 0 / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3698, allocations: 3.984 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.3702, allocations: 316.5 kB / 0.5705 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3702, allocations: 3.938 kB / 0.5705 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.3702, allocations: 8 kB / 0.5705 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3702, allocations: 0 / 0.5705 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3702, allocations: 8 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3702, allocations: 256 / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3702, allocations: 3.938 kB / 0.5706 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3706, allocations: 221.5 kB / 0.5708 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3707, allocations: 71.53 kB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.3708, allocations: 0 / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.3708, allocations: 8 kB / 0.5708 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.3709, allocations: 11.97 kB / 0.5709 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3709, allocations: 8 kB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000835/0.3718, allocations: 0.7643 MB / 0.5716 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 0.5716 GB, free: 8.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.372, allocations: 44 kB / 0.5717 GB, free: 8.805 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002152/0.3742, allocations: 1.065 MB / 0.5727 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.3744, allocations: 83.89 kB / 0.5728 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3744, allocations: 0 / 0.5728 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3746, allocations: 39.92 kB / 0.5728 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.375, allocations: 73 kB / 0.5729 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.3807, allocations: 4.481 MB / 0.5773 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.3813, allocations: 0.8425 MB / 0.5781 GB, free: 2.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.3814, allocations: 58.95 kB / 0.5781 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3816, allocations: 147.4 kB / 0.5783 GB, free: 1.996 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3816, allocations: 4 kB / 0.5783 GB, free: 1.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.4187, allocations: 9.21 MB / 0.5873 GB, free: 8.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12, allocations: 7.875 kB / 0.5873 GB, free: 8.809 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.281012568855658]