Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001068/0.001068, allocations: 72.55 kB / 19.92 MB, free: 4.621 MB / 18.57 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.0009936/0.0009936, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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 0.9044/0.9044, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 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.1468/0.1468, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.532e-05, allocations: 10.08 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002244/0.00227, allocations: 1.684 MB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003587, allocations: 1.474 MB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.003658, allocations: 3.938 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.003974, allocations: 35.77 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.004255, allocations: 67.62 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.004479, allocations: 83.7 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.00464, allocations: 103.7 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.004738, allocations: 8.219 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.004828, allocations: 59.77 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.004923, allocations: 35.91 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.004942, allocations: 8 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.005056, allocations: 63.89 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.00511, allocations: 19.92 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.005151, allocations: 23.92 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005364, allocations: 135.5 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005367, allocations: 0 / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005368, allocations: 7.938 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.005373, allocations: 0 / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004702/0.005843, allocations: 345.5 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.005885, allocations: 16.03 kB / 411.1 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.005917, allocations: 34.75 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.00596, allocations: 8.891 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.006217, allocations: 146.2 kB / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006232, allocations: 384 / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.006255, allocations: 8.125 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.006421, allocations: 105.1 kB / 411.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.00643, allocations: 3.938 kB / 411.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.006439, allocations: 3.938 kB / 411.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.006443, allocations: 0 / 411.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.006515, allocations: 39.97 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.006809, allocations: 263.8 kB / 411.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.006952, allocations: 66.67 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.006989, allocations: 28.78 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.007002, allocations: 0 / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.007118, allocations: 83.38 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.007119, allocations: 0 / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004333/0.007552, allocations: 205.8 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.007589, allocations: 81.11 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.007701, allocations: 170.3 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007715, allocations: 29.7 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.007762, allocations: 100.1 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.007789, allocations: 35.8 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.007821, allocations: 21.72 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.007908, allocations: 326.8 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.00795, allocations: 23.98 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.00801, allocations: 76.2 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.758e-05/0.008098, allocations: 81.75 kB / 413 MB, free: 11.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008099, allocations: 0 / 413 MB, free: 11.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001409/0.00824, allocations: 121.5 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.008252, allocations: 8 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.008258, allocations: 80 / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.008271, allocations: 0 / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.008346, allocations: 23.92 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.008354, allocations: 7.922 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.008388, allocations: 8 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.008396, allocations: 3.938 kB / 413.2 MB, free: 11.66 MB / 394.7 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 (11): * Single equations (assignments): 11 * 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 8.362e-05/0.008479, allocations: 121.9 kB / 413.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.008497, allocations: 15.94 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.008702, allocations: 134.4 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.008705, allocations: 4 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.008712, allocations: 3.938 kB / 413.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.008719, allocations: 7.969 kB / 413.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.00907, allocations: 390.4 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009072, allocations: 0 / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.009102, allocations: 16.03 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.009106, allocations: 3.938 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.009117, allocations: 8 kB / 413.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.009119, allocations: 3.938 kB / 413.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009121, allocations: 0 / 413.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009284, allocations: 228.3 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.009297, allocations: 15.88 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.009317, allocations: 4 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.00936, allocations: 4 kB / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.0094, allocations: 8.172 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.00942, allocations: 12 kB / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.317e-05/0.009493, allocations: 127.2 kB / 414.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009493, allocations: 0 / 414.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.009705, allocations: 43.86 kB / 414.3 MB, free: 10.45 MB / 394.7 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 (11): * Single equations (assignments): 9 * 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.001057/0.01076, allocations: 1.187 MB / 415.5 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.01091, allocations: 79.77 kB / 415.5 MB, free: 9.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01091, allocations: 4 kB / 415.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.01096, allocations: 35.92 kB / 415.6 MB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01117, allocations: 32.09 kB / 415.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.0124, allocations: 1.652 MB / 417.3 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.613e-05/0.01247, allocations: 89.44 kB / 417.4 MB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.609e-05/0.01253, allocations: 20.42 kB / 417.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.01259, allocations: 40.42 kB / 417.4 MB, free: 7.195 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01259, allocations: 4 kB / 417.4 MB, free: 7.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.0304, allocations: 4.652 MB / 422.1 MB, free: 2.387 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/6.972, allocations: 7.891 kB / 422.1 MB, free: 2.379 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.21420661918819]