Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 109.2 kB / 17.07 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 188.7 kB / 20.02 MB, free: 3.078 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.39/1.39, allocations: 205.1 MB / 227.9 MB, free: 4.348 MB / 174.1 MB " [Timeout remaining time 179] 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.324/0.324, allocations: 43.51 MB / 320.8 MB, free: 9.012 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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: 67.91 kB / 450.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2539, allocations: 57.79 MB / 0.496 GB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002569/0.2565, allocations: 1.702 MB / 0.4976 GB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2575, allocations: 0.8083 MB / 0.4984 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.2576, allocations: 0 / 0.4984 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2579, allocations: 54.44 kB / 0.4985 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.2581, allocations: 56.16 kB / 0.4985 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.2583, allocations: 100.7 kB / 0.4986 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2584, allocations: 89.5 kB / 0.4987 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.2585, allocations: 18.55 kB / 0.4987 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.2586, allocations: 42.77 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.2587, allocations: 30.2 kB / 0.4988 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2587, allocations: 3.938 kB / 0.4988 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.2588, allocations: 37.73 kB / 0.4988 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.2589, allocations: 31.62 kB / 0.4989 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.2589, allocations: 40.06 kB / 0.4989 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.2591, allocations: 138.5 kB / 0.499 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2591, allocations: 3.938 kB / 0.499 GB, free: 17.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2591, allocations: 1.031 kB / 0.499 GB, free: 17.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2591, allocations: 0 / 0.499 GB, free: 17.06 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.0004812/0.2596, allocations: 434.4 kB / 0.4995 GB, free: 16.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2597, allocations: 12.77 kB / 0.4995 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.2597, allocations: 40.02 kB / 0.4995 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.2597, allocations: 15.94 kB / 0.4995 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.2599, allocations: 229.5 kB / 0.4997 GB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.26, allocations: 6.562 kB / 0.4997 GB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.26, allocations: 9.969 kB / 0.4998 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2601, allocations: 54.23 kB / 0.4998 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2601, allocations: 0 / 0.4998 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2602, allocations: 1.344 kB / 0.4998 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2602, allocations: 0 / 0.4998 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.2602, allocations: 18.67 kB / 0.4998 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.2605, allocations: 294.7 kB / 0.5001 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2607, allocations: 61.8 kB / 0.5002 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.2607, allocations: 22.22 kB / 0.5002 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2608, allocations: 1.062 kB / 0.5002 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.2609, allocations: 69.36 kB / 0.5003 GB, free: 15.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2609, allocations: 0 / 0.5003 GB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004764/0.2614, allocations: 192.1 kB / 0.5004 GB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.2614, allocations: 52.78 kB / 0.5005 GB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.2616, allocations: 262.3 kB / 0.5007 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2616, allocations: 26.83 kB / 0.5008 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.2617, allocations: 111 kB / 0.5009 GB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.2617, allocations: 20.45 kB / 0.5009 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.2618, allocations: 31.86 kB / 0.5009 GB, free: 15.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.2618, allocations: 324.2 kB / 0.5012 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.2619, allocations: 27.2 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.2619, allocations: 35.11 kB / 0.5013 GB, free: 14.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.969e-05/0.262, allocations: 58.75 kB / 0.5013 GB, free: 14.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.262, allocations: 0.875 kB / 0.5013 GB, free: 14.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000161/0.2622, allocations: 113 kB / 0.5014 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2622, allocations: 4.75 kB / 0.5015 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2622, allocations: 5.062 kB / 0.5015 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2623, allocations: 1.281 kB / 0.5015 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.2623, allocations: 13.09 kB / 0.5015 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2623, allocations: 9.078 kB / 0.5015 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.2624, allocations: 10.34 kB / 0.5015 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2624, allocations: 1.969 kB / 0.5015 GB, free: 14.78 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.383e-05/0.2625, allocations: 143.5 kB / 0.5016 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.2625, allocations: 14.41 kB / 0.5016 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.2626, allocations: 21.48 kB / 0.5017 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2626, allocations: 1.125 kB / 0.5017 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2626, allocations: 0 / 0.5017 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2626, allocations: 5 kB / 0.5017 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.2629, allocations: 398.9 kB / 0.502 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2629, allocations: 1.344 kB / 0.5021 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.263, allocations: 15.7 kB / 0.5021 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.263, allocations: 3.938 kB / 0.5021 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.263, allocations: 6.219 kB / 0.5021 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.263, allocations: 1.062 kB / 0.5021 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.263, allocations: 0 / 0.5021 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.2632, allocations: 215 kB / 0.5023 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.2632, allocations: 92.31 kB / 0.5024 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2633, allocations: 8.906 kB / 0.5024 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.2633, allocations: 2.5 kB / 0.5024 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2634, allocations: 8.047 kB / 0.5024 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2634, allocations: 6.938 kB / 0.5024 GB, free: 13.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.2635, allocations: 192 kB / 0.5026 GB, free: 13.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2635, allocations: 0 / 0.5026 GB, free: 13.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.2638, allocations: 24.69 kB / 0.5026 GB, free: 13.79 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.001815/0.2656, allocations: 1.116 MB / 0.5037 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2658, allocations: 53.45 kB / 0.5037 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2658, allocations: 5.188 kB / 0.5037 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.2659, allocations: 28.95 kB / 0.5038 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.2663, allocations: 37.53 kB / 0.5038 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.2678, allocations: 1.805 MB / 0.5056 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2679, allocations: 0.7114 MB / 0.5063 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.268, allocations: 14.03 kB / 0.5063 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.2681, allocations: 47.52 kB / 0.5063 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2681, allocations: 0 / 0.5063 GB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.2914, allocations: 3.703 MB / 0.5099 GB, free: 8.352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/8.809, allocations: 9.312 kB / 0.51 GB, free: 8.344 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.588012092979625]