Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001378/0.001378, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001452/0.001452, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2429/0.2429, allocations: 46.96 MB / 360.9 MB, free: 4 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.91 kB / 0.4962 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 66.03 MB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003539/0.3504, allocations: 1.732 MB / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3523, allocations: 0.9715 MB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.3524, allocations: 3.938 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.3528, allocations: 91.69 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.3532, allocations: 115.6 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3534, allocations: 87.66 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.3537, allocations: 119.7 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3538, allocations: 21.75 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3539, allocations: 63.69 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.354, allocations: 63.8 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3541, allocations: 8 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3542, allocations: 55.98 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.3542, allocations: 31.84 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.3543, allocations: 31.8 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.3546, allocations: 143.4 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3546, allocations: 0 / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3546, allocations: 0 / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3546, allocations: 8 kB / 0.5641 GB, free: 0.6289 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.0006445/0.3552, allocations: 381.2 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3553, allocations: 8.031 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.3553, allocations: 34.75 kB / 0.5645 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.3554, allocations: 16.84 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.3557, allocations: 155.3 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3557, allocations: 12.12 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.3557, allocations: 3.938 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3559, allocations: 65.59 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3559, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3559, allocations: 8 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3559, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.356, allocations: 27.97 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.3565, allocations: 267.9 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3567, allocations: 58.48 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.3568, allocations: 28.97 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3568, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3569, allocations: 67.39 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3569, allocations: 4 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008077/0.3578, allocations: 269.6 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3578, allocations: 55.39 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.3581, allocations: 242.9 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3581, allocations: 25.7 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3582, allocations: 116.1 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.3582, allocations: 35.67 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3583, allocations: 25.72 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3585, allocations: 330.8 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.3586, allocations: 31.98 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.3586, allocations: 45.69 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3588, allocations: 81.75 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3588, allocations: 4 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002426/0.359, allocations: 133.5 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3591, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3591, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3591, allocations: 3.938 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.3592, allocations: 27.95 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3592, allocations: 4 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.3592, allocations: 4 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3592, allocations: 4 kB / 0.5666 GB, free: 13.88 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 (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.0001224/0.3594, allocations: 129.8 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3594, allocations: 15.91 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.3598, allocations: 154.9 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3598, allocations: 7.938 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3598, allocations: 0 / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3598, allocations: 0 / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.3604, allocations: 431.1 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3604, allocations: 0 / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.3604, allocations: 15.94 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3604, allocations: 4 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3605, allocations: 3.984 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3605, allocations: 4 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3605, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.3608, allocations: 245 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.3608, allocations: 15.97 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3608, allocations: 8 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.3609, allocations: 0 / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3609, allocations: 15.98 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.361, allocations: 4 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3611, allocations: 175.3 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3611, allocations: 3.938 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3614, allocations: 35.92 kB / 0.5678 GB, free: 12.54 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.002601/0.364, allocations: 1.232 MB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.3642, allocations: 79.91 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3642, allocations: 0 / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.3643, allocations: 39.92 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3647, allocations: 40.31 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3671, allocations: 1.858 MB / 0.571 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3672, allocations: 113.9 kB / 0.5711 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.3673, allocations: 8.656 kB / 0.5711 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.3673, allocations: 51.41 kB / 0.5711 GB, free: 9.223 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3673, allocations: 0 / 0.5711 GB, free: 9.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.3992, allocations: 4.63 MB / 0.5757 GB, free: 4.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.37, allocations: 11.98 kB / 0.5757 GB, free: 4.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.319448238238692]