Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 112.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.595/1.595, allocations: 207.6 MB / 230.5 MB, free: 4.062 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.3254/0.3254, allocations: 44.23 MB / 326.5 MB, free: 6.836 MB / 254.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 71.89 kB / 462.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3127, allocations: 60.99 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002901/0.3156, allocations: 1.809 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3173, allocations: 1.486 MB / 0.5142 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.3174, allocations: 5.219 kB / 0.5142 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.3177, allocations: 57.42 kB / 0.5142 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.3179, allocations: 91 kB / 0.5143 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3182, allocations: 143.2 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3184, allocations: 179.7 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.3185, allocations: 14.67 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3186, allocations: 81.5 kB / 0.5147 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.3188, allocations: 78.3 kB / 0.5148 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3188, allocations: 11 kB / 0.5148 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3189, allocations: 59.86 kB / 0.5149 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.319, allocations: 39.73 kB / 0.5149 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.319, allocations: 48.75 kB / 0.5149 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3192, allocations: 176.5 kB / 0.5151 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3193, allocations: 0 / 0.5151 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3193, allocations: 0 / 0.5151 GB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3193, allocations: 1.375 kB / 0.5151 GB, free: 10.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005177/0.3198, allocations: 468.4 kB / 0.5156 GB, free: 9.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3198, allocations: 17.52 kB / 0.5156 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3199, allocations: 44.02 kB / 0.5156 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3199, allocations: 19.69 kB / 0.5156 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3202, allocations: 243.3 kB / 0.5159 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3202, allocations: 1.75 kB / 0.5159 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3202, allocations: 6.688 kB / 0.5159 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3204, allocations: 99.08 kB / 0.516 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3204, allocations: 1.375 kB / 0.516 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3204, allocations: 0 / 0.516 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3205, allocations: 5.359 kB / 0.516 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.3206, allocations: 36.41 kB / 0.516 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.3207, allocations: 215.1 kB / 0.5162 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3209, allocations: 106.1 kB / 0.5163 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.321, allocations: 36.83 kB / 0.5164 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.321, allocations: 5.359 kB / 0.5164 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.3212, allocations: 112.5 kB / 0.5165 GB, free: 8.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3212, allocations: 0 / 0.5165 GB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004083/0.3216, allocations: 158.5 kB / 0.5166 GB, free: 8.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3217, allocations: 135.2 kB / 0.5168 GB, free: 8.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3219, allocations: 217.6 kB / 0.517 GB, free: 8.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.3219, allocations: 27.08 kB / 0.517 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.3219, allocations: 115 kB / 0.5171 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.322, allocations: 27.92 kB / 0.5171 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.322, allocations: 31.33 kB / 0.5172 GB, free: 8.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.3221, allocations: 328.3 kB / 0.5175 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3221, allocations: 31.05 kB / 0.5175 GB, free: 7.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.3222, allocations: 73.75 kB / 0.5176 GB, free: 7.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3224, allocations: 86.23 kB / 0.5176 GB, free: 7.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3224, allocations: 5.312 kB / 0.5177 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002266/0.3226, allocations: 131.8 kB / 0.5178 GB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3226, allocations: 9.766 kB / 0.5178 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3226, allocations: 4.75 kB / 0.5178 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3226, allocations: 2.125 kB / 0.5178 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3227, allocations: 22.97 kB / 0.5178 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3227, allocations: 3.938 kB / 0.5178 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.3228, allocations: 21.47 kB / 0.5178 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3228, allocations: 3.969 kB / 0.5178 GB, free: 7.461 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.562e-05/0.3229, allocations: 136.8 kB / 0.518 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.3229, allocations: 16.25 kB / 0.518 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.323, allocations: 21.97 kB / 0.518 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.323, allocations: 1.594 kB / 0.518 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.323, allocations: 1.562 kB / 0.518 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.323, allocations: 3.984 kB / 0.518 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3231, allocations: 218 kB / 0.5182 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3231, allocations: 0 / 0.5182 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.3231, allocations: 7 kB / 0.5182 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3231, allocations: 1.438 kB / 0.5182 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3231, allocations: 5.672 kB / 0.5182 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3231, allocations: 1.281 kB / 0.5182 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3231, allocations: 4 kB / 0.5182 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3234, allocations: 171 kB / 0.5184 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.3234, allocations: 89.41 kB / 0.5185 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.3235, allocations: 5.391 kB / 0.5185 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.3235, allocations: 4.781 kB / 0.5185 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.3236, allocations: 12.02 kB / 0.5185 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3236, allocations: 11.78 kB / 0.5185 GB, free: 6.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3237, allocations: 165.7 kB / 0.5187 GB, free: 6.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3237, allocations: 0 / 0.5187 GB, free: 6.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3239, allocations: 39.89 kB / 0.5187 GB, free: 6.609 MB / 382.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00172/0.3257, allocations: 1.058 MB / 0.5198 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3259, allocations: 79.91 kB / 0.5198 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3259, allocations: 0 / 0.5198 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.326, allocations: 31.98 kB / 0.5199 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3263, allocations: 56.02 kB / 0.5199 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3278, allocations: 1.824 MB / 0.5217 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3279, allocations: 0.7164 MB / 0.5224 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.556e-05/0.3279, allocations: 29.53 kB / 0.5224 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.328, allocations: 47.41 kB / 0.5225 GB, free: 2.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.328, allocations: 4 kB / 0.5225 GB, free: 2.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.361, allocations: 4.739 MB / 0.5271 GB, free: 13.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.762, allocations: 5.531 kB / 0.5271 GB, free: 13.79 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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: 11.781385115813464]