Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001456/0.001456, allocations: 114.5 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.001681/0.001681, 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.8/1.8, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.3979/0.3979, allocations: 44.23 MB / 326.6 MB, free: 6.801 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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.002212/0.002212, allocations: 71.89 kB / 462.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2909, allocations: 60.99 MB / 0.511 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00281/0.2937, allocations: 1.713 MB / 0.5127 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2948, allocations: 0.8139 MB / 0.5135 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.2949, allocations: 5.281 kB / 0.5135 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.2952, allocations: 33.98 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2954, allocations: 61.25 kB / 0.5136 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.2956, allocations: 83.09 kB / 0.5137 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.2957, allocations: 97.48 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2958, allocations: 13.59 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.2959, allocations: 48.72 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.296, allocations: 28.41 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.296, allocations: 9.031 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2961, allocations: 43.27 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.2962, allocations: 17.45 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.2962, allocations: 31.98 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2964, allocations: 110.3 kB / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2964, allocations: 0 / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2964, allocations: 0 / 0.514 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.2964, allocations: 1.375 kB / 0.514 GB, free: 10.94 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.000483/0.2969, allocations: 426.1 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.297, allocations: 13.48 kB / 0.5145 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.297, allocations: 36.12 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.297, allocations: 14.34 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2973, allocations: 207.2 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2973, allocations: 1.75 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2973, allocations: 5.188 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2975, allocations: 54.52 kB / 0.5148 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2975, allocations: 4 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.2975, allocations: 1.719 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2975, allocations: 0 / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.2976, allocations: 27.36 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.2979, allocations: 281.5 kB / 0.5151 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.298, allocations: 51.92 kB / 0.5151 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.2981, allocations: 24.78 kB / 0.5151 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2981, allocations: 1.688 kB / 0.5151 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.2982, allocations: 75.97 kB / 0.5152 GB, free: 9.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2982, allocations: 4.5 kB / 0.5152 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004854/0.2987, allocations: 173.2 kB / 0.5154 GB, free: 9.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.2988, allocations: 57.55 kB / 0.5154 GB, free: 9.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2989, allocations: 189.8 kB / 0.5156 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.2989, allocations: 31.11 kB / 0.5156 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.2989, allocations: 101.5 kB / 0.5157 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.299, allocations: 22.47 kB / 0.5158 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.299, allocations: 20.91 kB / 0.5158 GB, free: 9.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.299, allocations: 322.3 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.2991, allocations: 23.17 kB / 0.5161 GB, free: 8.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.2992, allocations: 38.77 kB / 0.5162 GB, free: 8.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2993, allocations: 59.31 kB / 0.5162 GB, free: 8.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2993, allocations: 3.938 kB / 0.5162 GB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001612/0.2994, allocations: 103.3 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2994, allocations: 5.562 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2994, allocations: 5.344 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2995, allocations: 0 / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.2995, allocations: 18.06 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2995, allocations: 5.203 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.2996, allocations: 9.25 kB / 0.5164 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2996, allocations: 3.594 kB / 0.5164 GB, free: 8.734 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.365e-05/0.2997, allocations: 118.7 kB / 0.5165 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.2997, allocations: 12.56 kB / 0.5165 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.2997, allocations: 13.5 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2997, allocations: 1.031 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2997, allocations: 1.5 kB / 0.5165 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2997, allocations: 11.92 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.3, allocations: 393.1 kB / 0.5169 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3, allocations: 1.469 kB / 0.5169 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.3001, allocations: 14.36 kB / 0.5169 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3001, allocations: 5.094 kB / 0.5169 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3001, allocations: 1.531 kB / 0.5169 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3001, allocations: 1.625 kB / 0.5169 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3001, allocations: 240 / 0.5169 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3003, allocations: 209.9 kB / 0.5171 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.3003, allocations: 87.77 kB / 0.5172 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3003, allocations: 13.48 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3004, allocations: 5.375 kB / 0.5172 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.3004, allocations: 8.062 kB / 0.5172 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3004, allocations: 6.734 kB / 0.5172 GB, free: 7.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.3005, allocations: 150.6 kB / 0.5174 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3005, allocations: 3.938 kB / 0.5174 GB, free: 7.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3008, allocations: 20.48 kB / 0.5174 GB, free: 7.77 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.002038/0.3028, allocations: 1.096 MB / 0.5185 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.303, allocations: 56.91 kB / 0.5185 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.303, allocations: 0 / 0.5185 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.3031, allocations: 23.19 kB / 0.5185 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3035, allocations: 41.62 kB / 0.5186 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3052, allocations: 1.629 MB / 0.5202 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.3053, allocations: 0.7041 MB / 0.5209 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.3054, allocations: 20.86 kB / 0.5209 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.3054, allocations: 31.42 kB / 0.5209 GB, free: 4.375 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3054, allocations: 3.938 kB / 0.5209 GB, free: 4.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3289, allocations: 3.393 MB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.177, allocations: 2.578 kB / 0.5242 GB, free: 0.9062 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.60253708899836]