Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241.8 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 44.18 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 69.17 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09292, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002485/0.09544, allocations: 1.76 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.09657, allocations: 0.8614 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.09664, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.0969, allocations: 51.81 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.09706, allocations: 47.81 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.09729, allocations: 87.47 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.09743, allocations: 107.7 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/0.09752, allocations: 8.234 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.09759, allocations: 43.72 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.09766, allocations: 31.84 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.09768, allocations: 4 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.09777, allocations: 39.98 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.09782, allocations: 19.92 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.09787, allocations: 39.67 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.09804, allocations: 131.8 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.09805, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.09806, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.217e-06/0.09806, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.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.0004419/0.09851, allocations: 422.9 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.09855, allocations: 15.97 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.09859, allocations: 30.75 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.09862, allocations: 12.75 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.09881, allocations: 212.6 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.09883, allocations: 8.375 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.09885, allocations: 3.938 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.09898, allocations: 57.61 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.099, allocations: 4 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.09901, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.09902, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.0991, allocations: 19.98 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.0994, allocations: 300.7 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.09956, allocations: 58.62 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.09962, allocations: 20.84 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.09964, allocations: 4 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.09979, allocations: 63.39 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.0998, allocations: 4 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004666/0.1003, allocations: 177.2 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1003, allocations: 51.41 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1005, allocations: 230.5 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1005, allocations: 25.7 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.1006, allocations: 104.1 kB / 473.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1006, allocations: 27.64 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.1006, allocations: 25.72 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.1007, allocations: 330.8 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.1008, allocations: 16 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.1009, allocations: 41.64 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.101, allocations: 54.08 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.101, allocations: 3.938 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.1012, allocations: 109.5 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1012, allocations: 6.5 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1012, allocations: 7.984 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1012, allocations: 7.984 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.1013, allocations: 12 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1013, allocations: 4.141 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.1013, allocations: 7.938 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1014, allocations: 4.188 kB / 474.3 MB, free: 8.801 MB / 350.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 8.812e-05/0.1015, allocations: 132.6 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1015, allocations: 23.78 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1015, allocations: 21.39 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1015, allocations: 4 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1015, allocations: 0 / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1015, allocations: 3.938 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1019, allocations: 395.3 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1019, allocations: 0 / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.102, allocations: 8.031 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.102, allocations: 11.94 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.102, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.102, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.102, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1022, allocations: 208.1 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.1022, allocations: 85 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1023, allocations: 11.94 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.1023, allocations: 0 / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1024, allocations: 11.98 kB / 475.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1024, allocations: 4 kB / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1025, allocations: 172.3 kB / 475.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1025, allocations: 0 / 475.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1028, allocations: 27.98 kB / 475.4 MB, free: 7.602 MB / 350.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.001277/0.104, allocations: 1.088 MB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1042, allocations: 67.95 kB / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1042, allocations: 0 / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.1043, allocations: 27.88 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1046, allocations: 31.94 kB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1061, allocations: 1.745 MB / 478.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1063, allocations: 0.7121 MB / 479.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.1064, allocations: 8.891 kB / 479.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.1065, allocations: 39.42 kB / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1065, allocations: 0 / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.645/2.752, allocations: 3.295 MB / 482.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/2.752, allocations: 234.9 kB / 482.6 MB, free: 492 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/4.475, allocations: 0 / 482.6 MB, free: 492 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches