Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001455/0.001455, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.001485/0.001485, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 207.6 MB / 231.2 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4101/0.4101, allocations: 44.23 MB / 327.3 MB, free: 6.691 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002617/0.002617, allocations: 79.86 kB / 463 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3799, allocations: 61 MB / 0.5117 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003293/0.3832, allocations: 1.854 MB / 0.5135 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3846, allocations: 0.9089 MB / 0.5144 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3847, allocations: 1.312 kB / 0.5144 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.3852, allocations: 257.7 kB / 0.5147 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.3856, allocations: 183.4 kB / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.386, allocations: 143.4 kB / 0.515 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3863, allocations: 252.9 kB / 0.5152 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3864, allocations: 17.33 kB / 0.5152 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3866, allocations: 139.6 kB / 0.5154 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.3869, allocations: 189.4 kB / 0.5155 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.3869, allocations: 6.5 kB / 0.5155 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3871, allocations: 45.95 kB / 0.5156 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3872, allocations: 68.22 kB / 0.5157 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3873, allocations: 85.09 kB / 0.5157 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.3877, allocations: 232.7 kB / 0.516 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3877, allocations: 1.375 kB / 0.516 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3877, allocations: 0 / 0.516 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3877, allocations: 0 / 0.516 GB, free: 10.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008524/0.3886, allocations: 0.5595 MB / 0.5165 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3886, allocations: 14.86 kB / 0.5165 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/0.3887, allocations: 1.562 kB / 0.5165 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.3887, allocations: 44.11 kB / 0.5166 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.3888, allocations: 30.5 kB / 0.5166 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.3892, allocations: 293.3 kB / 0.5169 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3892, allocations: 6.875 kB / 0.5169 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3892, allocations: 8.125 kB / 0.5169 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3895, allocations: 93.48 kB / 0.517 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3895, allocations: 1.375 kB / 0.517 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3895, allocations: 7.938 kB / 0.517 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3895, allocations: 2.75 kB / 0.517 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3897, allocations: 40.53 kB / 0.517 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3901, allocations: 452 kB / 0.5175 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3904, allocations: 116.1 kB / 0.5176 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.3905, allocations: 37.11 kB / 0.5176 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3905, allocations: 2 kB / 0.5176 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.3908, allocations: 119.3 kB / 0.5177 GB, free: 8.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3908, allocations: 0 / 0.5177 GB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008415/0.3916, allocations: 396.4 kB / 0.5181 GB, free: 8.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3917, allocations: 81.05 kB / 0.5182 GB, free: 8.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.392, allocations: 481.7 kB / 0.5186 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.392, allocations: 29.64 kB / 0.5187 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.3921, allocations: 168.3 kB / 0.5188 GB, free: 7.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.3922, allocations: 51.58 kB / 0.5189 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3922, allocations: 33.7 kB / 0.5189 GB, free: 7.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.3923, allocations: 350.8 kB / 0.5192 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.3924, allocations: 35.98 kB / 0.5193 GB, free: 6.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/0.3925, allocations: 71.41 kB / 0.5193 GB, free: 6.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3927, allocations: 119.3 kB / 0.5195 GB, free: 6.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3927, allocations: 4 kB / 0.5195 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002677/0.3929, allocations: 185.3 kB / 0.5196 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3929, allocations: 4 kB / 0.5196 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3929, allocations: 4 kB / 0.5196 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.393, allocations: 8 kB / 0.5197 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3931, allocations: 39.92 kB / 0.5197 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3931, allocations: 3.984 kB / 0.5197 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.3932, allocations: 4 kB / 0.5197 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3932, allocations: 4 kB / 0.5197 GB, free: 6.449 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001301/0.3933, allocations: 169.8 kB / 0.5199 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.3934, allocations: 31.81 kB / 0.5199 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.3934, allocations: 42.8 kB / 0.5199 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3934, allocations: 7.938 kB / 0.5199 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3935, allocations: 4 kB / 0.5199 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3935, allocations: 0 / 0.5199 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.3941, allocations: 0.6284 MB / 0.5206 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3941, allocations: 0 / 0.5206 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.3941, allocations: 27.97 kB / 0.5206 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3941, allocations: 64 / 0.5206 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3941, allocations: 8 kB / 0.5206 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3941, allocations: 0.75 kB / 0.5206 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3941, allocations: 4 kB / 0.5206 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.3945, allocations: 380 kB / 0.521 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.3945, allocations: 108.9 kB / 0.5211 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.3945, allocations: 11.98 kB / 0.5211 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3947, allocations: 8 kB / 0.5211 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3947, allocations: 11.98 kB / 0.5211 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3947, allocations: 8 kB / 0.5211 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.395, allocations: 363.1 kB / 0.5214 GB, free: 4.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.395, allocations: 0 / 0.5214 GB, free: 4.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.3953, allocations: 36 kB / 0.5215 GB, free: 4.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002147/0.3975, allocations: 1.262 MB / 0.5227 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.3977, allocations: 119.8 kB / 0.5228 GB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3978, allocations: 0 / 0.5228 GB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3979, allocations: 48.17 kB / 0.5229 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.3984, allocations: 61.33 kB / 0.5229 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.4008, allocations: 2.749 MB / 0.5256 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.4012, allocations: 0.7749 MB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.4013, allocations: 33.92 kB / 0.5264 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4014, allocations: 91.34 kB / 0.5265 GB, free: 15.24 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4014, allocations: 0 / 0.5265 GB, free: 15.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4263, allocations: 6.047 MB / 0.5324 GB, free: 9.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.028, allocations: 13.66 kB / 0.5324 GB, free: 9.105 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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: 12.56119979696814]