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.0008793/0.0008793, allocations: 79.53 kB / 20.01 MB, free: 4.512 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.00147/0.00147, allocations: 169.9 kB / 23.32 MB, free: 1.211 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.8735/0.8735, allocations: 158.6 MB / 185.1 MB, free: 3.004 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.1337/0.1337, allocations: 32.38 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.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.473e-06/1.473e-06, allocations: 0 / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.655e-05, allocations: 5.938 kB / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00191/0.001926, allocations: 1.641 MB / 408.8 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.002773, allocations: 0.7609 MB / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.002832, allocations: 0 / 409.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.003118, allocations: 95.69 kB / 409.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.003312, allocations: 79.59 kB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.003473, allocations: 79.72 kB / 409.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003612, allocations: 99.67 kB / 409.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.003647, allocations: 11.92 kB / 409.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.003726, allocations: 63.81 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.003809, allocations: 47.88 kB / 410 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003827, allocations: 4 kB / 410 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.00389, allocations: 31.94 kB / 410 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.003938, allocations: 23.92 kB / 410.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.003975, allocations: 23.86 kB / 410.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.004118, allocations: 95.7 kB / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004119, allocations: 0 / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00412, allocations: 0 / 410.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004124, allocations: 0 / 410.2 MB, free: 14.99 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.0003823/0.004507, allocations: 341.6 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.004548, allocations: 12.03 kB / 410.5 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.004574, allocations: 30.75 kB / 410.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.004602, allocations: 8.891 kB / 410.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.004766, allocations: 157.5 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004777, allocations: 4.375 kB / 410.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004787, allocations: 384 / 410.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.004892, allocations: 53.98 kB / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.0049, allocations: 0 / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.004908, allocations: 3.984 kB / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004913, allocations: 0 / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.004956, allocations: 15.94 kB / 410.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.005091, allocations: 152.8 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.005197, allocations: 54.56 kB / 411 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.005229, allocations: 20.84 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.005243, allocations: 4 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.005345, allocations: 67.33 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.005346, allocations: 0 / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001947/0.00554, allocations: 109.5 kB / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.00557, allocations: 59.41 kB / 411.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.005703, allocations: 210.8 kB / 411.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005713, allocations: 29.7 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.005753, allocations: 104.1 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.00578, allocations: 23.83 kB / 411.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.005806, allocations: 13.72 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.005883, allocations: 326.8 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.005913, allocations: 15.98 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.005946, allocations: 25.72 kB / 412 MB, free: 12.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.001e-05/0.006006, allocations: 49.64 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006008, allocations: 0 / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.538e-05/0.006103, allocations: 97.58 kB / 412.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.006114, allocations: 4 kB / 412.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006118, allocations: 3.938 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.006128, allocations: 0 / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.006178, allocations: 8 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.006182, allocations: 4 kB / 412.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.006211, allocations: 7.938 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.006217, allocations: 4 kB / 412.2 MB, free: 12.8 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.65e-05/0.006283, allocations: 125.8 kB / 412.3 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.006295, allocations: 15.89 kB / 412.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.006428, allocations: 98.77 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.00643, allocations: 0 / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006433, allocations: 0 / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006436, allocations: 0 / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.006528, allocations: 160.7 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006529, allocations: 0 / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.006544, allocations: 4.375 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006546, allocations: 7.875 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.006554, allocations: 8 kB / 412.6 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006555, allocations: 0 / 412.6 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006555, allocations: 0 / 412.6 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.006654, allocations: 125 kB / 412.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.006667, allocations: 11.89 kB / 412.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.006682, allocations: 8 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.006698, allocations: 0 / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.006728, allocations: 11.92 kB / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.006737, allocations: 0 / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.006824, allocations: 167.2 kB / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006824, allocations: 0 / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.006965, allocations: 15.94 kB / 412.9 MB, free: 11.98 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.0008105/0.007776, allocations: 0.9952 MB / 413.9 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.007882, allocations: 39.92 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007884, allocations: 4 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.00792, allocations: 23.98 kB / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.008083, allocations: 19.98 kB / 414 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.009134, allocations: 1.557 MB / 415.5 MB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.009187, allocations: 92.38 kB / 415.6 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.009224, allocations: 12.48 kB / 415.6 MB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.009268, allocations: 28.5 kB / 415.7 MB, free: 9.098 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.009268, allocations: 0 / 415.7 MB, free: 9.098 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.02387, allocations: 4.006 MB / 419.7 MB, free: 4.961 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.914, allocations: 11.98 kB / 419.7 MB, free: 4.949 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: 9.008091986179352]