Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001792/0.001792, allocations: 113.9 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.001887/0.001887, 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.596/1.596, allocations: 207.6 MB / 230.4 MB, free: 3.957 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.3413/0.3413, allocations: 44.23 MB / 326.5 MB, free: 6.82 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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.002906/0.002906, allocations: 75.89 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.298, allocations: 61 MB / 0.511 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003306/0.3013, allocations: 1.67 MB / 0.5126 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3026, allocations: 0.7956 MB / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.3027, allocations: 0 / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.303, allocations: 66.84 kB / 0.5134 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3033, allocations: 71.95 kB / 0.5135 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3035, allocations: 80.27 kB / 0.5136 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3037, allocations: 103.3 kB / 0.5137 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.3038, allocations: 7.391 kB / 0.5137 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3039, allocations: 47.56 kB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.304, allocations: 43.8 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.304, allocations: 3.156 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.3041, allocations: 28.8 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3042, allocations: 26.78 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3042, allocations: 25.56 kB / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3045, allocations: 106.2 kB / 0.514 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3045, allocations: 0 / 0.514 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3045, allocations: 5.031 kB / 0.514 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3045, allocations: 0 / 0.514 GB, free: 11.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006675/0.3051, allocations: 397.3 kB / 0.5144 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.416e-05/0.3052, allocations: 14.52 kB / 0.5144 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.3053, allocations: 38.69 kB / 0.5144 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3053, allocations: 13.31 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.3057, allocations: 210.7 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3057, allocations: 1.438 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3057, allocations: 5.156 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3059, allocations: 56.05 kB / 0.5147 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3059, allocations: 0 / 0.5147 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3059, allocations: 5.578 kB / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3059, allocations: 0 / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.306, allocations: 11.55 kB / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.3063, allocations: 178.5 kB / 0.5149 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3064, allocations: 65.45 kB / 0.5149 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.3065, allocations: 12.27 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.3065, allocations: 1.406 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.3067, allocations: 64.77 kB / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.3067, allocations: 0 / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003745/0.3071, allocations: 98.83 kB / 0.5151 GB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3072, allocations: 57.19 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3074, allocations: 186.4 kB / 0.5153 GB, free: 9.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3074, allocations: 25.7 kB / 0.5154 GB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.3075, allocations: 102.4 kB / 0.5154 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.3075, allocations: 15.83 kB / 0.5155 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.3076, allocations: 23.36 kB / 0.5155 GB, free: 9.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3077, allocations: 321.1 kB / 0.5158 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.3077, allocations: 12.03 kB / 0.5158 GB, free: 9.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.3078, allocations: 35.56 kB / 0.5158 GB, free: 9.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.3079, allocations: 47.58 kB / 0.5159 GB, free: 9.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.3079, allocations: 9.25 kB / 0.5159 GB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001564/0.3081, allocations: 78.47 kB / 0.516 GB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3081, allocations: 5.5 kB / 0.516 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3081, allocations: 0 / 0.516 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3081, allocations: 1.375 kB / 0.516 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3082, allocations: 21.59 kB / 0.516 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3082, allocations: 3.984 kB / 0.516 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.3083, allocations: 6.688 kB / 0.516 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3083, allocations: 2.75 kB / 0.516 GB, free: 9.012 MB / 382.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 (7): * Single equations (assignments): 7 * 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 9.674e-05/0.3084, allocations: 122 kB / 0.5161 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.3084, allocations: 8.078 kB / 0.5161 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.3085, allocations: 16.42 kB / 0.5161 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3085, allocations: 1.375 kB / 0.5161 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3085, allocations: 4 kB / 0.5162 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3085, allocations: 1.375 kB / 0.5162 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3086, allocations: 187.3 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3086, allocations: 1.375 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.3087, allocations: 6.734 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3087, allocations: 0 / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3087, allocations: 1.375 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3087, allocations: 1.375 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3087, allocations: 0 / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3089, allocations: 116.7 kB / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.3089, allocations: 87.81 kB / 0.5165 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.3089, allocations: 1.375 kB / 0.5165 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.309, allocations: 1.375 kB / 0.5165 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.309, allocations: 6.734 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.309, allocations: 2.75 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3092, allocations: 149.2 kB / 0.5167 GB, free: 8.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3092, allocations: 0 / 0.5167 GB, free: 8.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3094, allocations: 16.31 kB / 0.5167 GB, free: 8.324 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001747/0.3112, allocations: 0.9771 MB / 0.5177 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3113, allocations: 38.86 kB / 0.5177 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3113, allocations: 0 / 0.5177 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.3114, allocations: 26.64 kB / 0.5177 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3117, allocations: 20.52 kB / 0.5177 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.3131, allocations: 1.479 MB / 0.5192 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3132, allocations: 0.6971 MB / 0.5199 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.3132, allocations: 20.36 kB / 0.5199 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.3133, allocations: 29.45 kB / 0.5199 GB, free: 5.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3133, allocations: 0 / 0.5199 GB, free: 5.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3368, allocations: 3.079 MB / 0.5229 GB, free: 2.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.522, allocations: 11.84 kB / 0.5229 GB, free: 2.344 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.555610481183976]