Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001351/0.001351, allocations: 114.4 kB / 17.12 MB, free: 5.953 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.001374/0.001374, allocations: 204 kB / 20.09 MB, free: 3 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.528/1.528, allocations: 207.6 MB / 230.5 MB, free: 4.004 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.3839/0.3839, allocations: 44.24 MB / 326.6 MB, free: 6.852 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.002201/0.002201, allocations: 75.91 kB / 462.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2679, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003169/0.2711, allocations: 1.716 MB / 0.5127 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2723, allocations: 0.8139 MB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.2724, allocations: 1.156 kB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.2728, allocations: 43.42 kB / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.273, allocations: 61.25 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2733, allocations: 82.16 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2735, allocations: 101.7 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2736, allocations: 15.53 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.2737, allocations: 44.91 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.2738, allocations: 33.59 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.2738, allocations: 3.75 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2739, allocations: 39.05 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.274, allocations: 22.64 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.274, allocations: 35.23 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.2742, allocations: 114.4 kB / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2742, allocations: 0.8438 kB / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2742, allocations: 0 / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2743, allocations: 5.156 kB / 0.5141 GB, free: 10.82 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.0005427/0.2748, allocations: 414.7 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2748, allocations: 13.83 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.2749, allocations: 32.09 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.2749, allocations: 14.09 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2752, allocations: 210.4 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2752, allocations: 5.844 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.2752, allocations: 6.812 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2754, allocations: 57.42 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2754, allocations: 0 / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2754, allocations: 1.812 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2754, allocations: 0 / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.2755, allocations: 18.86 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.2759, allocations: 282.5 kB / 0.5151 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.276, allocations: 63.95 kB / 0.5151 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.2761, allocations: 21.19 kB / 0.5151 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2761, allocations: 0 / 0.5151 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.2762, allocations: 69.91 kB / 0.5152 GB, free: 9.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.2762, allocations: 0 / 0.5152 GB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005311/0.2768, allocations: 181.4 kB / 0.5154 GB, free: 9.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.2768, allocations: 56.78 kB / 0.5154 GB, free: 9.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.277, allocations: 186.2 kB / 0.5156 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.277, allocations: 25.7 kB / 0.5156 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.277, allocations: 101.6 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.277, allocations: 23.97 kB / 0.5158 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.2771, allocations: 24.59 kB / 0.5158 GB, free: 9.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.2771, allocations: 321.6 kB / 0.5161 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.2772, allocations: 26.92 kB / 0.5161 GB, free: 8.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.2772, allocations: 47.33 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.2774, allocations: 55.91 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2774, allocations: 0 / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.2775, allocations: 110.8 kB / 0.5163 GB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2775, allocations: 5.5 kB / 0.5163 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2776, allocations: 1.75 kB / 0.5163 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2776, allocations: 4.031 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.2777, allocations: 17.73 kB / 0.5164 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2777, allocations: 1.375 kB / 0.5164 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.2777, allocations: 9.312 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2777, allocations: 6.688 kB / 0.5164 GB, free: 8.617 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 7.734e-05/0.2778, allocations: 127.1 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.2778, allocations: 13.44 kB / 0.5165 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.2779, allocations: 12.84 kB / 0.5165 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2779, allocations: 5.375 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2779, allocations: 0 / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2779, allocations: 5.312 kB / 0.5165 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.2783, allocations: 393.2 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2783, allocations: 0 / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.2783, allocations: 11.33 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2783, allocations: 5.062 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2783, allocations: 2.469 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2783, allocations: 0 / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2783, allocations: 5.281 kB / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.2786, allocations: 204.2 kB / 0.5171 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2786, allocations: 88.02 kB / 0.5172 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.2786, allocations: 9.078 kB / 0.5172 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.2787, allocations: 2.062 kB / 0.5172 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2787, allocations: 7.844 kB / 0.5172 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.2788, allocations: 11.48 kB / 0.5172 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2789, allocations: 141 kB / 0.5174 GB, free: 7.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2789, allocations: 0 / 0.5174 GB, free: 7.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.2792, allocations: 24.55 kB / 0.5174 GB, free: 7.668 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.002097/0.2813, allocations: 1.099 MB / 0.5185 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2815, allocations: 64.05 kB / 0.5185 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2815, allocations: 0 / 0.5185 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.2815, allocations: 24.12 kB / 0.5185 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2819, allocations: 36.72 kB / 0.5186 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2835, allocations: 1.619 MB / 0.5202 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2836, allocations: 0.7041 MB / 0.5209 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.2836, allocations: 25.12 kB / 0.5209 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.2837, allocations: 35.42 kB / 0.5209 GB, free: 4.355 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2837, allocations: 0 / 0.5209 GB, free: 4.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.3056, allocations: 3.383 MB / 0.5242 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.598, allocations: 4.062 kB / 0.5242 GB, free: 0.8945 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_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_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.633831095008645]