Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001356/0.001356, allocations: 122.2 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.001526/0.001526, allocations: 211.8 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.762/1.762, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.3817/0.3817, allocations: 44.22 MB / 327.3 MB, free: 6.746 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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.002222/0.002222, allocations: 67.91 kB / 463 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3881, allocations: 61 MB / 0.5117 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002975/0.391, allocations: 1.863 MB / 0.5135 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3925, allocations: 0.8992 MB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3926, allocations: 4.875 kB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.3932, allocations: 229.6 kB / 0.5146 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.3936, allocations: 174 kB / 0.5148 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3939, allocations: 146.1 kB / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.3942, allocations: 231.5 kB / 0.5152 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3944, allocations: 16.23 kB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3945, allocations: 120.3 kB / 0.5153 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.3948, allocations: 161.2 kB / 0.5154 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.3948, allocations: 6.625 kB / 0.5154 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3949, allocations: 45.89 kB / 0.5155 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.395, allocations: 62.42 kB / 0.5155 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.3951, allocations: 80.64 kB / 0.5156 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3955, allocations: 211.8 kB / 0.5158 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3955, allocations: 0 / 0.5158 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3955, allocations: 0 / 0.5158 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.3955, allocations: 0 / 0.5158 GB, free: 10.14 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.0007721/0.3962, allocations: 0.5489 MB / 0.5164 GB, free: 9.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3963, allocations: 13.48 kB / 0.5164 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/0.3963, allocations: 1.562 kB / 0.5164 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.3964, allocations: 44.11 kB / 0.5164 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.3964, allocations: 29.12 kB / 0.5164 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.3968, allocations: 280.1 kB / 0.5167 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3968, allocations: 10.86 kB / 0.5167 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.3969, allocations: 8.125 kB / 0.5167 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3971, allocations: 101.4 kB / 0.5168 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3972, allocations: 1.375 kB / 0.5168 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3972, allocations: 8 kB / 0.5168 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3972, allocations: 2.75 kB / 0.5168 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3973, allocations: 36.59 kB / 0.5169 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.3978, allocations: 451.8 kB / 0.5173 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3981, allocations: 113 kB / 0.5174 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.3982, allocations: 36.83 kB / 0.5174 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.3982, allocations: 1.375 kB / 0.5175 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3984, allocations: 117.9 kB / 0.5176 GB, free: 8.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3984, allocations: 0 / 0.5176 GB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008931/0.3993, allocations: 373.4 kB / 0.5179 GB, free: 8.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3994, allocations: 80.98 kB / 0.518 GB, free: 8.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.3997, allocations: 428.2 kB / 0.5184 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3997, allocations: 29.7 kB / 0.5184 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.3998, allocations: 164.3 kB / 0.5186 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3998, allocations: 55.52 kB / 0.5186 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.3999, allocations: 33.7 kB / 0.5187 GB, free: 7.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.3999, allocations: 338.8 kB / 0.519 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4, allocations: 47.92 kB / 0.519 GB, free: 7.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.4001, allocations: 67.41 kB / 0.5191 GB, free: 7.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.4003, allocations: 127.3 kB / 0.5192 GB, free: 6.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4003, allocations: 0 / 0.5192 GB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002641/0.4006, allocations: 185.5 kB / 0.5194 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4006, allocations: 8 kB / 0.5194 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4006, allocations: 0 / 0.5194 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4006, allocations: 8 kB / 0.5194 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4008, allocations: 36.67 kB / 0.5195 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4008, allocations: 0 / 0.5195 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.4008, allocations: 8 kB / 0.5195 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4009, allocations: 8 kB / 0.5195 GB, free: 6.688 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.000131/0.401, allocations: 157.8 kB / 0.5196 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.401, allocations: 31.77 kB / 0.5197 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.4011, allocations: 38.61 kB / 0.5197 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.4011, allocations: 11.94 kB / 0.5197 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4011, allocations: 7.938 kB / 0.5197 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4011, allocations: 0 / 0.5197 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.4017, allocations: 0.6165 MB / 0.5203 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4017, allocations: 0 / 0.5203 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.4018, allocations: 19.94 kB / 0.5203 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4018, allocations: 4 kB / 0.5203 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4018, allocations: 12.05 kB / 0.5203 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4018, allocations: 4 kB / 0.5203 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4018, allocations: 0 / 0.5203 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4021, allocations: 372.2 kB / 0.5207 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.4021, allocations: 108.9 kB / 0.5208 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.4022, allocations: 11.94 kB / 0.5208 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4023, allocations: 7.984 kB / 0.5208 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.4024, allocations: 11.98 kB / 0.5208 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4024, allocations: 8 kB / 0.5208 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.4026, allocations: 315 kB / 0.5211 GB, free: 4.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4026, allocations: 4 kB / 0.5211 GB, free: 4.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.4029, allocations: 35.98 kB / 0.5212 GB, free: 4.816 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.002003/0.4049, allocations: 1.26 MB / 0.5224 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4052, allocations: 115.8 kB / 0.5225 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4052, allocations: 0 / 0.5225 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.4053, allocations: 52.16 kB / 0.5226 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.4058, allocations: 67.84 kB / 0.5226 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4082, allocations: 2.64 MB / 0.5252 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4086, allocations: 0.771 MB / 0.526 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.4087, allocations: 30.56 kB / 0.526 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.4088, allocations: 83.39 kB / 0.5261 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4088, allocations: 0 / 0.5261 GB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.4325, allocations: 5.81 MB / 0.5318 GB, free: 9.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.094, allocations: 9.719 kB / 0.5318 GB, free: 9.766 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.530538332997821]