Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001682/0.001682, allocations: 117.8 kB / 17.13 MB, free: 5.926 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.001898/0.001898, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.514/1.514, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3518/0.3518, allocations: 44.24 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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.00216/0.00216, allocations: 68.47 kB / 462.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 61 MB / 0.511 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003168/0.3182, allocations: 1.678 MB / 0.5126 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3196, allocations: 0.7867 MB / 0.5134 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.3197, allocations: 5.281 kB / 0.5134 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.3201, allocations: 53.44 kB / 0.5134 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.3204, allocations: 65.47 kB / 0.5135 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3207, allocations: 84.19 kB / 0.5136 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3209, allocations: 89.42 kB / 0.5137 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.3209, allocations: 6.797 kB / 0.5137 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.321, allocations: 45.42 kB / 0.5137 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.3211, allocations: 26.7 kB / 0.5137 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3211, allocations: 1.594 kB / 0.5137 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.3212, allocations: 31.8 kB / 0.5138 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.3213, allocations: 30.91 kB / 0.5138 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.3213, allocations: 39.88 kB / 0.5138 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3215, allocations: 120.8 kB / 0.514 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3215, allocations: 0 / 0.514 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3215, allocations: 0 / 0.514 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3215, allocations: 0 / 0.514 GB, free: 11.21 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.0005525/0.3221, allocations: 429 kB / 0.5144 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3221, allocations: 13.17 kB / 0.5144 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.3222, allocations: 32.12 kB / 0.5144 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.3222, allocations: 15.31 kB / 0.5144 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3225, allocations: 220.9 kB / 0.5146 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3225, allocations: 9.188 kB / 0.5146 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3225, allocations: 9.969 kB / 0.5147 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3227, allocations: 46.86 kB / 0.5147 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3227, allocations: 0.9688 kB / 0.5147 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3227, allocations: 0 / 0.5147 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3227, allocations: 0.8438 kB / 0.5147 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.3228, allocations: 16.3 kB / 0.5147 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.3229, allocations: 190.8 kB / 0.5149 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.3231, allocations: 57.97 kB / 0.5149 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3231, allocations: 19.72 kB / 0.515 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3232, allocations: 1 kB / 0.515 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3233, allocations: 60.36 kB / 0.515 GB, free: 10.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3233, allocations: 0 / 0.515 GB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000272/0.3236, allocations: 101.8 kB / 0.5151 GB, free: 10.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3236, allocations: 59.34 kB / 0.5152 GB, free: 9.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3238, allocations: 266.9 kB / 0.5154 GB, free: 9.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3239, allocations: 25.7 kB / 0.5155 GB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.3239, allocations: 111.2 kB / 0.5156 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.3239, allocations: 10.41 kB / 0.5156 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.324, allocations: 19.31 kB / 0.5156 GB, free: 9.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.324, allocations: 332 kB / 0.5159 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.3241, allocations: 18.45 kB / 0.5159 GB, free: 9.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.3241, allocations: 24.31 kB / 0.516 GB, free: 9.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.506e-05/0.3242, allocations: 47.7 kB / 0.516 GB, free: 9.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3242, allocations: 3.938 kB / 0.516 GB, free: 9.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001461/0.3244, allocations: 85.38 kB / 0.5161 GB, free: 9.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3244, allocations: 8.25 kB / 0.5161 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3244, allocations: 1.531 kB / 0.5161 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3244, allocations: 3.984 kB / 0.5161 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.3245, allocations: 13.31 kB / 0.5161 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3245, allocations: 4.969 kB / 0.5161 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3245, allocations: 6.453 kB / 0.5161 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3245, allocations: 2.875 kB / 0.5161 GB, free: 9.121 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 8.578e-05/0.3246, allocations: 131.7 kB / 0.5162 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3246, allocations: 18.97 kB / 0.5163 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3247, allocations: 23.52 kB / 0.5163 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3247, allocations: 9.922 kB / 0.5163 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3247, allocations: 0 / 0.5163 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3247, allocations: 0 / 0.5163 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3248, allocations: 197.5 kB / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3248, allocations: 1.375 kB / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.3248, allocations: 2.844 kB / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3248, allocations: 0 / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3249, allocations: 1.625 kB / 0.5165 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3249, allocations: 3.984 kB / 0.5165 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3249, allocations: 1.344 kB / 0.5165 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.325, allocations: 118.6 kB / 0.5166 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3251, allocations: 91.86 kB / 0.5167 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3251, allocations: 1.812 kB / 0.5167 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.3251, allocations: 5.25 kB / 0.5167 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.3252, allocations: 6.75 kB / 0.5167 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3252, allocations: 5.328 kB / 0.5167 GB, free: 8.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3253, allocations: 195.8 kB / 0.5169 GB, free: 8.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3253, allocations: 0 / 0.5169 GB, free: 8.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.3256, allocations: 21.7 kB / 0.5169 GB, free: 8.383 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.001707/0.3273, allocations: 0.961 MB / 0.5179 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3274, allocations: 41.98 kB / 0.5179 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3274, allocations: 0 / 0.5179 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.3275, allocations: 18.98 kB / 0.5179 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.3278, allocations: 24.36 kB / 0.5179 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3292, allocations: 1.664 MB / 0.5196 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.3294, allocations: 0.7158 MB / 0.5203 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.3294, allocations: 16.53 kB / 0.5203 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.3295, allocations: 35.42 kB / 0.5203 GB, free: 5.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3295, allocations: 3.938 kB / 0.5203 GB, free: 5.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.355, allocations: 3.42 MB / 0.5237 GB, free: 1.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.426, allocations: 19.84 kB / 0.5237 GB, free: 1.566 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.335314959287643]