Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001414/0.001414, allocations: 112.5 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.001402/0.001402, 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.634/1.634, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3278/0.3278, allocations: 44.23 MB / 326.6 MB, free: 6.844 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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.002281/0.002281, allocations: 71.91 kB / 462.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2522, allocations: 61 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002687/0.2549, allocations: 1.711 MB / 0.5127 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2559, allocations: 0.8111 MB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.2559, allocations: 1.156 kB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.2562, allocations: 36.97 kB / 0.5135 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.2564, allocations: 60.98 kB / 0.5136 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.2566, allocations: 83.78 kB / 0.5137 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.2567, allocations: 101.4 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.2568, allocations: 7.781 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.2569, allocations: 48.28 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.257, allocations: 37.5 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.257, allocations: 4.25 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-05/0.2571, allocations: 39.36 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.2571, allocations: 16.8 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.2571, allocations: 31.34 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2573, allocations: 118.5 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2573, allocations: 0 / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2573, allocations: 0 / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2573, allocations: 0 / 0.514 GB, free: 10.91 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.0004189/0.2577, allocations: 415 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2578, allocations: 13.89 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.311e-05/0.2578, allocations: 30.75 kB / 0.5145 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.2578, allocations: 9.266 kB / 0.5145 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.258, allocations: 207 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.258, allocations: 2.188 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2581, allocations: 6.062 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.2582, allocations: 58.36 kB / 0.5148 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2582, allocations: 3.953 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2582, allocations: 5.312 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2582, allocations: 3.938 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.2583, allocations: 18.33 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.2586, allocations: 285.5 kB / 0.5151 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.2587, allocations: 56.52 kB / 0.5151 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.2588, allocations: 19.61 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2588, allocations: 1.344 kB / 0.5151 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.2589, allocations: 65.08 kB / 0.5152 GB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2589, allocations: 5.219 kB / 0.5152 GB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005146/0.2594, allocations: 176.7 kB / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.2595, allocations: 52.66 kB / 0.5154 GB, free: 9.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2596, allocations: 179.8 kB / 0.5156 GB, free: 9.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.2596, allocations: 26.95 kB / 0.5156 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.2596, allocations: 96.77 kB / 0.5157 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.2596, allocations: 27.25 kB / 0.5157 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.2597, allocations: 21.28 kB / 0.5158 GB, free: 9.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.2597, allocations: 325.6 kB / 0.5161 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.2598, allocations: 18.27 kB / 0.5161 GB, free: 8.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.2599, allocations: 40.23 kB / 0.5161 GB, free: 8.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.26, allocations: 63.81 kB / 0.5162 GB, free: 8.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.26, allocations: 0 / 0.5162 GB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/0.2601, allocations: 102.3 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2601, allocations: 6.312 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2601, allocations: 0 / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2602, allocations: 1.594 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.2602, allocations: 21.11 kB / 0.5163 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2603, allocations: 5.312 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.2603, allocations: 9.719 kB / 0.5163 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2603, allocations: 2.375 kB / 0.5163 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 7.355e-05/0.2604, allocations: 126.9 kB / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.2604, allocations: 8.047 kB / 0.5164 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.2604, allocations: 13.22 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2604, allocations: 1.5 kB / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2604, allocations: 0 / 0.5165 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2605, allocations: 7.922 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.2608, allocations: 396.7 kB / 0.5168 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2608, allocations: 3.938 kB / 0.5169 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.2609, allocations: 12.23 kB / 0.5169 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2609, allocations: 5.219 kB / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2609, allocations: 1.375 kB / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2609, allocations: 1.375 kB / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2609, allocations: 0 / 0.5169 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.2611, allocations: 208.3 kB / 0.5171 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.2611, allocations: 83.81 kB / 0.5171 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2611, allocations: 13.48 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.2612, allocations: 2.75 kB / 0.5172 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2612, allocations: 6.688 kB / 0.5172 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.2612, allocations: 8.109 kB / 0.5172 GB, free: 7.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.77e-05/0.2613, allocations: 135.5 kB / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2613, allocations: 4 kB / 0.5173 GB, free: 7.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2616, allocations: 24.44 kB / 0.5173 GB, free: 7.777 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.001862/0.2634, allocations: 1.102 MB / 0.5184 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.2636, allocations: 48.98 kB / 0.5185 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2636, allocations: 0 / 0.5185 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.2637, allocations: 31.05 kB / 0.5185 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.264, allocations: 37.69 kB / 0.5185 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2653, allocations: 1.609 MB / 0.5201 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.2654, allocations: 0.6963 MB / 0.5208 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.2654, allocations: 21.19 kB / 0.5208 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.2655, allocations: 31.42 kB / 0.5208 GB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2655, allocations: 0 / 0.5208 GB, free: 4.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2892, allocations: 3.318 MB / 0.5241 GB, free: 1.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.296, allocations: 2.688 kB / 0.5241 GB, free: 1.066 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.45107582800847]