Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008544/0.0008544, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0009387/0.0009387, allocations: 169.9 kB / 23.32 MB, free: 1.207 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.8889/0.8889, allocations: 158.6 MB / 185.1 MB, free: 2.977 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.1281/0.1281, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.072e-05, allocations: 5.516 kB / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002444/0.002464, allocations: 1.868 MB / 409 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.003456, allocations: 0.819 MB / 409.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.003552, allocations: 4 kB / 409.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.003889, allocations: 47.66 kB / 409.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.004112, allocations: 63.56 kB / 409.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.004346, allocations: 103.7 kB / 410 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.004528, allocations: 139.5 kB / 410.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004635, allocations: 25.59 kB / 410.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.004727, allocations: 71.81 kB / 410.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.00482, allocations: 39.83 kB / 410.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.004841, allocations: 4 kB / 410.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.004922, allocations: 47.92 kB / 410.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.004976, allocations: 35.84 kB / 410.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.005025, allocations: 27.92 kB / 410.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.005224, allocations: 151.4 kB / 410.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005226, allocations: 0 / 410.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005226, allocations: 0 / 410.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005231, allocations: 0 / 410.6 MB, free: 9.875 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004775/0.005708, allocations: 399.1 kB / 411 MB, free: 9.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005743, allocations: 8.031 kB / 411 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.005771, allocations: 42.73 kB / 411 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.005806, allocations: 20.78 kB / 411 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.006003, allocations: 169.4 kB / 411.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006017, allocations: 12.36 kB / 411.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.006037, allocations: 4.375 kB / 411.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.006219, allocations: 138.2 kB / 411.3 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.006226, allocations: 0 / 411.3 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.006235, allocations: 0 / 411.3 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006241, allocations: 4 kB / 411.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.006329, allocations: 63.89 kB / 411.4 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.006738, allocations: 480 kB / 411.9 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.006963, allocations: 86.66 kB / 412 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.007015, allocations: 32.84 kB / 412 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.007028, allocations: 4 kB / 412 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.007187, allocations: 109 kB / 412.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.007189, allocations: 0 / 412.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002885/0.007477, allocations: 153.5 kB / 412.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.007513, allocations: 51.41 kB / 412.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.007673, allocations: 195.5 kB / 412.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.007688, allocations: 29.7 kB / 412.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.007767, allocations: 116 kB / 412.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.007791, allocations: 27.8 kB / 412.7 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.007828, allocations: 29.7 kB / 412.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.007928, allocations: 326.8 kB / 413 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.007979, allocations: 27.98 kB / 413 MB, free: 7.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.008049, allocations: 72.39 kB / 413.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.00817, allocations: 100.1 kB / 413.2 MB, free: 6.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.008173, allocations: 0 / 413.2 MB, free: 6.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00017/0.008343, allocations: 145.5 kB / 413.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.008358, allocations: 4 kB / 413.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.008365, allocations: 4 kB / 413.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008379, allocations: 0 / 413.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.008447, allocations: 27.98 kB / 413.4 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.008456, allocations: 3.938 kB / 413.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.008496, allocations: 19.83 kB / 413.4 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.008505, allocations: 7.938 kB / 413.4 MB, free: 6.754 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.503e-05/0.0086, allocations: 128.2 kB / 413.5 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.008614, allocations: 16 kB / 413.6 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.008803, allocations: 139.5 kB / 413.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008805, allocations: 0 / 413.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008809, allocations: 0 / 413.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.008814, allocations: 7.938 kB / 413.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.008926, allocations: 172.7 kB / 413.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008928, allocations: 0 / 413.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.008971, allocations: 12 kB / 413.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008973, allocations: 0 / 413.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.008988, allocations: 8 kB / 413.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.00899, allocations: 4 kB / 413.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.008992, allocations: 3.984 kB / 413.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.009206, allocations: 188.9 kB / 414.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.009222, allocations: 23.86 kB / 414.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.009236, allocations: 3.938 kB / 414.1 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.009261, allocations: 4 kB / 414.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.009296, allocations: 11.98 kB / 414.1 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.009308, allocations: 3.938 kB / 414.1 MB, free: 5.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.345e-05/0.009382, allocations: 153.2 kB / 414.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009382, allocations: 0 / 414.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.009536, allocations: 27.98 kB / 414.3 MB, free: 5.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009419/0.01048, allocations: 1.059 MB / 415.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01064, allocations: 75.91 kB / 415.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01064, allocations: 4.188 kB / 415.4 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.01069, allocations: 43.97 kB / 415.5 MB, free: 4.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.01089, allocations: 42.3 kB / 415.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.0124, allocations: 1.739 MB / 417.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.427e-05/0.01247, allocations: 106.8 kB / 417.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.01252, allocations: 17.14 kB / 417.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.01257, allocations: 40.48 kB / 417.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01257, allocations: 0 / 417.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.03296, allocations: 4.647 MB / 422.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.076, allocations: 11.92 kB / 422.1 MB, free: 13.79 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.299162360839546]