Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.000896/0.000896, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008845/0.0008845, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8235/0.8235, allocations: 158.6 MB / 185 MB, free: 3.023 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.1268/0.1268, 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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.451e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001838/0.001852, allocations: 1.633 MB / 408.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.002629, allocations: 0.761 MB / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.002683, allocations: 0 / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.00296, allocations: 91.64 kB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.003139, allocations: 83.58 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.003282, allocations: 87.66 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.003409, allocations: 103.7 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.003444, allocations: 7.984 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.003522, allocations: 67.75 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.003601, allocations: 43.89 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003617, allocations: 3.984 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.003676, allocations: 31.94 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.003723, allocations: 19.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.003755, allocations: 19.92 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.0039, allocations: 99.7 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003902, allocations: 4 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003902, allocations: 3.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003906, allocations: 0 / 410 MB, free: 15.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003622/0.004268, allocations: 341.6 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.004301, allocations: 12.03 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.004325, allocations: 30.75 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.004352, allocations: 8.891 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.004521, allocations: 157.5 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.00453, allocations: 384 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.004538, allocations: 384 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.004637, allocations: 57.98 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004644, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004651, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004656, allocations: 3.984 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.0047, allocations: 19.98 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.004833, allocations: 152.8 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.004934, allocations: 50.56 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.004966, allocations: 20.84 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.004977, allocations: 4 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.005079, allocations: 71.33 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.00508, allocations: 4 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001819/0.005262, allocations: 105.5 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.005289, allocations: 51.41 kB / 411 MB, free: 13.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.005419, allocations: 218.8 kB / 411.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.00543, allocations: 25.7 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.005468, allocations: 100.1 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.005494, allocations: 19.83 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.005519, allocations: 17.72 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.00559, allocations: 330.8 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.005619, allocations: 15.98 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.00565, allocations: 29.66 kB / 411.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/0.005709, allocations: 49.64 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005711, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.114e-05/0.005802, allocations: 89.56 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.005813, allocations: 4 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005817, allocations: 0 / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.005827, allocations: 8.031 kB / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.005878, allocations: 11.94 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005883, allocations: 0 / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.005911, allocations: 11.94 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005915, allocations: 0 / 412 MB, free: 12.89 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 (7): * Single equations (assignments): 7 * 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.248e-05/0.005978, allocations: 121.8 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.005989, allocations: 15.88 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.00611, allocations: 98.77 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006111, allocations: 0 / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.006115, allocations: 4 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006117, allocations: 4 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.006267, allocations: 157.1 kB / 412.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006267, allocations: 3.938 kB / 412.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.006282, allocations: 12 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.006284, allocations: 3.938 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.00629, allocations: 0 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006291, allocations: 0 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006291, allocations: 0 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.299e-05/0.006384, allocations: 117 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.006399, allocations: 19.88 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006411, allocations: 4 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.006428, allocations: 4 kB / 412.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.006452, allocations: 7.984 kB / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.006462, allocations: 4 kB / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.006542, allocations: 163.2 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006542, allocations: 0 / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000138/0.00668, allocations: 19.94 kB / 412.7 MB, free: 12.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008067/0.007487, allocations: 0.9936 MB / 413.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.007583, allocations: 43.92 kB / 413.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007585, allocations: 0 / 413.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.007617, allocations: 19.98 kB / 413.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.007792, allocations: 27.92 kB / 413.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.008796, allocations: 1.553 MB / 415.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.008847, allocations: 88.31 kB / 415.4 MB, free: 9.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.242e-05/0.008879, allocations: 16.55 kB / 415.4 MB, free: 9.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.008922, allocations: 28.5 kB / 415.5 MB, free: 9.191 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008923, allocations: 0 / 415.5 MB, free: 9.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.02316, allocations: 4.014 MB / 419.5 MB, free: 5.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.948, allocations: 12 kB / 419.5 MB, free: 5.047 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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: 8.99013848323375]