Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.002016/0.002016, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.00255/0.00255, allocations: 212 kB / 20.09 MB, free: 2.977 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.95/1.95, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.4118/0.4118, allocations: 44.23 MB / 326.6 MB, free: 6.809 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",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: 75.89 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.368, allocations: 61 MB / 0.511 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003385/0.3714, allocations: 1.919 MB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3727, allocations: 0.8479 MB / 0.5137 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3728, allocations: 5.031 kB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.3731, allocations: 48.22 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.3733, allocations: 58.23 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3736, allocations: 99.34 kB / 0.5139 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3738, allocations: 146.5 kB / 0.5141 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.374, allocations: 29.31 kB / 0.5141 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3741, allocations: 58.59 kB / 0.5141 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.3742, allocations: 52.48 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3742, allocations: 8.156 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3743, allocations: 41.89 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.3743, allocations: 26.02 kB / 0.5143 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.3744, allocations: 51.09 kB / 0.5143 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.3747, allocations: 153.6 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3747, allocations: 5.5 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3747, allocations: 0 / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3747, allocations: 4 kB / 0.5145 GB, free: 10.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000727/0.3754, allocations: 475.8 kB / 0.5149 GB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.539e-05/0.3755, allocations: 14.61 kB / 0.5149 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.3756, allocations: 36.47 kB / 0.515 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.3756, allocations: 15.97 kB / 0.515 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3759, allocations: 230.6 kB / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3759, allocations: 2.281 kB / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.376, allocations: 28.83 kB / 0.5152 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3762, allocations: 99.64 kB / 0.5153 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3762, allocations: 0 / 0.5153 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3763, allocations: 3.984 kB / 0.5153 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3763, allocations: 1.875 kB / 0.5153 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3764, allocations: 50.12 kB / 0.5154 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.377, allocations: 0.5139 MB / 0.5159 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.3773, allocations: 82.41 kB / 0.516 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.3774, allocations: 37.34 kB / 0.516 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3774, allocations: 1.375 kB / 0.516 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.3776, allocations: 81.31 kB / 0.5161 GB, free: 8.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3776, allocations: 0 / 0.5161 GB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004322/0.378, allocations: 151.6 kB / 0.5162 GB, free: 8.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.3781, allocations: 56.88 kB / 0.5163 GB, free: 8.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3783, allocations: 194.3 kB / 0.5165 GB, free: 8.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3783, allocations: 31.08 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.3783, allocations: 114.9 kB / 0.5166 GB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3784, allocations: 27.88 kB / 0.5166 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3784, allocations: 31.33 kB / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.3785, allocations: 321.6 kB / 0.517 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.3786, allocations: 32.42 kB / 0.517 GB, free: 8.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.3787, allocations: 68.48 kB / 0.5171 GB, free: 7.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.3788, allocations: 101.8 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3789, allocations: 1.5 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002682/0.3791, allocations: 137.2 kB / 0.5173 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3791, allocations: 4.969 kB / 0.5173 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3791, allocations: 1.594 kB / 0.5173 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3792, allocations: 6.344 kB / 0.5173 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3793, allocations: 21.61 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3793, allocations: 14.22 kB / 0.5173 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.3793, allocations: 9.203 kB / 0.5173 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3794, allocations: 8 kB / 0.5174 GB, free: 7.789 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.798e-05/0.3794, allocations: 122.8 kB / 0.5175 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3795, allocations: 14.56 kB / 0.5175 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.3795, allocations: 21.05 kB / 0.5175 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3795, allocations: 6.25 kB / 0.5175 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3795, allocations: 0 / 0.5175 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3795, allocations: 7.984 kB / 0.5175 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3797, allocations: 213.8 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3797, allocations: 0 / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.3798, allocations: 10 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3798, allocations: 4.938 kB / 0.5177 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3798, allocations: 5.281 kB / 0.5177 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3798, allocations: 5.625 kB / 0.5177 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3798, allocations: 0 / 0.5177 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3801, allocations: 184.6 kB / 0.5179 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.3801, allocations: 88.27 kB / 0.518 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3802, allocations: 5.656 kB / 0.518 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.3802, allocations: 16.17 kB / 0.518 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3803, allocations: 6.953 kB / 0.518 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3803, allocations: 6.328 kB / 0.518 GB, free: 7.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.3804, allocations: 140.2 kB / 0.5182 GB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 0 / 0.5182 GB, free: 7.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.3806, allocations: 32.3 kB / 0.5182 GB, free: 7.012 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001849/0.3825, allocations: 1.019 MB / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3827, allocations: 85.27 kB / 0.5193 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3827, allocations: 0 / 0.5193 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.3828, allocations: 33.67 kB / 0.5193 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3832, allocations: 36.28 kB / 0.5193 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.3851, allocations: 1.744 MB / 0.521 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.3853, allocations: 0.7162 MB / 0.5217 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.3854, allocations: 17.42 kB / 0.5218 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.3855, allocations: 39.42 kB / 0.5218 GB, free: 3.375 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3855, allocations: 0 / 0.5218 GB, free: 3.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.4144, allocations: 3.794 MB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.461, allocations: 10.28 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.108591484007775]