Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001817/0.001817, 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.002278/0.002278, 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.584/1.584, allocations: 207.6 MB / 230.5 MB, free: 4.059 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.3648/0.3648, allocations: 44.23 MB / 326.5 MB, free: 6.789 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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.002144/0.002144, allocations: 83.88 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 61 MB / 0.511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003082/0.3264, allocations: 1.712 MB / 0.5127 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3278, allocations: 0.8145 MB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.3279, allocations: 1.094 kB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.3283, allocations: 40.33 kB / 0.5135 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3286, allocations: 58.31 kB / 0.5135 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3289, allocations: 88.64 kB / 0.5136 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.3291, allocations: 94.09 kB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3292, allocations: 11.81 kB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.3293, allocations: 51.75 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.3294, allocations: 30.56 kB / 0.5138 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3294, allocations: 7.531 kB / 0.5138 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.3295, allocations: 38.17 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3295, allocations: 20.3 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.3296, allocations: 41.38 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3298, allocations: 117.2 kB / 0.514 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3298, allocations: 2.656 kB / 0.514 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3298, allocations: 0 / 0.514 GB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3298, allocations: 0 / 0.514 GB, free: 10.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004667/0.3302, allocations: 414.9 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3303, allocations: 17.34 kB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.3303, allocations: 35.78 kB / 0.5145 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.3304, allocations: 10.33 kB / 0.5145 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3306, allocations: 212.4 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3306, allocations: 1.406 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3306, allocations: 10 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3308, allocations: 50.58 kB / 0.5147 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3308, allocations: 4 kB / 0.5147 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3308, allocations: 5.219 kB / 0.5147 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3308, allocations: 1 kB / 0.5147 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.3309, allocations: 18.39 kB / 0.5148 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.3312, allocations: 290.2 kB / 0.515 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.3314, allocations: 56.33 kB / 0.5151 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.3314, allocations: 20.61 kB / 0.5151 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3314, allocations: 1.125 kB / 0.5151 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3316, allocations: 72.73 kB / 0.5152 GB, free: 9.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.572e-06/0.3316, allocations: 1 kB / 0.5152 GB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005828/0.3322, allocations: 173.6 kB / 0.5154 GB, free: 9.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3322, allocations: 56.59 kB / 0.5154 GB, free: 9.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3324, allocations: 200 kB / 0.5156 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3324, allocations: 29.7 kB / 0.5156 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3324, allocations: 101.6 kB / 0.5157 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3325, allocations: 27.81 kB / 0.5158 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.3325, allocations: 23.53 kB / 0.5158 GB, free: 9.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.3326, allocations: 327.8 kB / 0.5161 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.3326, allocations: 19.27 kB / 0.5161 GB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.3327, allocations: 42.14 kB / 0.5161 GB, free: 8.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3328, allocations: 63.27 kB / 0.5162 GB, free: 8.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3328, allocations: 0 / 0.5162 GB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.333, allocations: 104.9 kB / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.333, allocations: 5.031 kB / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.333, allocations: 0 / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.333, allocations: 1.438 kB / 0.5163 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.3331, allocations: 28.95 kB / 0.5163 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3331, allocations: 5.125 kB / 0.5163 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.3332, allocations: 7 kB / 0.5163 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3332, allocations: 1.281 kB / 0.5164 GB, free: 8.574 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 (10): * Single equations (assignments): 10 * 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 6.751e-05/0.3332, allocations: 129 kB / 0.5165 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.3333, allocations: 9.297 kB / 0.5165 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.3333, allocations: 14.81 kB / 0.5165 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3333, allocations: 1.5 kB / 0.5165 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3333, allocations: 4 kB / 0.5165 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3333, allocations: 7.922 kB / 0.5165 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.3336, allocations: 394.4 kB / 0.5169 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3336, allocations: 0 / 0.5169 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.3337, allocations: 8.25 kB / 0.5169 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3337, allocations: 9.25 kB / 0.5169 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3337, allocations: 1.375 kB / 0.5169 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3337, allocations: 1.375 kB / 0.5169 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3337, allocations: 7.969 kB / 0.5169 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.3339, allocations: 204.3 kB / 0.5171 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.3339, allocations: 89.14 kB / 0.5172 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3339, allocations: 5.312 kB / 0.5172 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.334, allocations: 1.375 kB / 0.5172 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.334, allocations: 12.11 kB / 0.5172 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.334, allocations: 2.75 kB / 0.5172 GB, free: 7.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.3341, allocations: 156.9 kB / 0.5174 GB, free: 7.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3341, allocations: 0 / 0.5174 GB, free: 7.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3344, allocations: 24.44 kB / 0.5174 GB, free: 7.613 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001893/0.3363, allocations: 1.107 MB / 0.5185 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3365, allocations: 55.53 kB / 0.5185 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3365, allocations: 0 / 0.5185 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.3366, allocations: 28.55 kB / 0.5185 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3369, allocations: 40.19 kB / 0.5186 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3383, allocations: 1.655 MB / 0.5202 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3384, allocations: 0.708 MB / 0.5209 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.3385, allocations: 13.19 kB / 0.5209 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.3385, allocations: 35.42 kB / 0.5209 GB, free: 4.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3385, allocations: 0 / 0.5209 GB, free: 4.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3619, allocations: 3.455 MB / 0.5243 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.576, allocations: 9.109 kB / 0.5243 GB, free: 0.7617 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.636207581032068]