Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001462/0.001462, allocations: 113.6 kB / 17.12 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.001638/0.001638, allocations: 213 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.472/1.472, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.3247/0.3247, allocations: 44.24 MB / 326.6 MB, free: 6.832 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.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.002189/0.002189, allocations: 83.88 kB / 462.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2708, allocations: 60.99 MB / 0.511 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002528/0.2733, allocations: 1.712 MB / 0.5127 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.2743, allocations: 0.8138 MB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.2743, allocations: 4.969 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2746, allocations: 37.48 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.2748, allocations: 54.08 kB / 0.5136 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.275, allocations: 88.84 kB / 0.5137 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2751, allocations: 93.27 kB / 0.5137 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.2752, allocations: 13.3 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.2753, allocations: 47.91 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.2753, allocations: 30.81 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2754, allocations: 6.688 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.2754, allocations: 47.14 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.2755, allocations: 21.67 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.2755, allocations: 31.45 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2758, allocations: 113.6 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2758, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2758, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2758, allocations: 0 / 0.514 GB, free: 10.84 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.0004609/0.2762, allocations: 406.6 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2763, allocations: 14.67 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.2763, allocations: 42.67 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.2763, allocations: 10.14 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.2765, allocations: 198.5 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2765, allocations: 6.156 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2766, allocations: 5.75 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2767, allocations: 55.3 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2767, allocations: 7.953 kB / 0.5148 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2767, allocations: 3.938 kB / 0.5148 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2767, allocations: 0 / 0.5148 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.2768, allocations: 23.05 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.2771, allocations: 289.9 kB / 0.5151 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2772, allocations: 46.97 kB / 0.5151 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.2773, allocations: 24.5 kB / 0.5151 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2773, allocations: 1.625 kB / 0.5151 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.2774, allocations: 68.52 kB / 0.5152 GB, free: 9.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2774, allocations: 1.375 kB / 0.5152 GB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004741/0.2779, allocations: 177.2 kB / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.2779, allocations: 52.78 kB / 0.5154 GB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.278, allocations: 175.6 kB / 0.5156 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.278, allocations: 27.08 kB / 0.5156 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.2781, allocations: 100.2 kB / 0.5157 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2781, allocations: 27.91 kB / 0.5157 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.2781, allocations: 20.59 kB / 0.5158 GB, free: 9.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.2782, allocations: 321.6 kB / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.2782, allocations: 22.98 kB / 0.5161 GB, free: 8.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.2783, allocations: 39.45 kB / 0.5161 GB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.876e-05/0.2784, allocations: 60.06 kB / 0.5162 GB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2784, allocations: 0 / 0.5162 GB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001662/0.2786, allocations: 106.6 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2786, allocations: 5.219 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2786, allocations: 0 / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2786, allocations: 1.406 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.2787, allocations: 21.12 kB / 0.5163 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2787, allocations: 5.172 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.2787, allocations: 10.72 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2787, allocations: 1.594 kB / 0.5163 GB, free: 8.664 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 5.888e-05/0.2788, allocations: 118.5 kB / 0.5164 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2788, allocations: 8.828 kB / 0.5164 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.2788, allocations: 17.7 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2788, allocations: 0 / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2788, allocations: 0.8125 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2788, allocations: 7.938 kB / 0.5165 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.2792, allocations: 396.9 kB / 0.5168 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2792, allocations: 0 / 0.5168 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.2792, allocations: 11.47 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2792, allocations: 10.08 kB / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2792, allocations: 1.125 kB / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2792, allocations: 1.219 kB / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2792, allocations: 0 / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2794, allocations: 200.2 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.2794, allocations: 87.92 kB / 0.5171 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.2794, allocations: 6.719 kB / 0.5172 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.2795, allocations: 9.359 kB / 0.5172 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.2795, allocations: 4 kB / 0.5172 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2796, allocations: 2.812 kB / 0.5172 GB, free: 7.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.2796, allocations: 144.3 kB / 0.5173 GB, free: 7.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2796, allocations: 0 / 0.5173 GB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.2799, allocations: 23.69 kB / 0.5173 GB, free: 7.719 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.001859/0.2818, allocations: 1.112 MB / 0.5184 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.2819, allocations: 55.25 kB / 0.5185 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2819, allocations: 0 / 0.5185 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.282, allocations: 31.67 kB / 0.5185 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2823, allocations: 33.64 kB / 0.5185 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2837, allocations: 1.596 MB / 0.5201 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2838, allocations: 0.7041 MB / 0.5208 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.2838, allocations: 21.17 kB / 0.5208 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2839, allocations: 31.42 kB / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2839, allocations: 0 / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.3057, allocations: 3.321 MB / 0.5241 GB, free: 1.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.494, allocations: 10.66 kB / 0.5241 GB, free: 1.051 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.461206309002591]