Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001018/0.001019, allocations: 94.33 kB / 17.35 MB, free: 6.344 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.001095/0.001095, allocations: 170.2 kB / 18.25 MB, free: 5.508 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.261/1.261, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1751/0.1751, allocations: 44.25 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09051, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002045/0.0926, allocations: 1.433 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.0939, allocations: 0.8499 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.09399, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.09423, allocations: 51.81 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.09441, allocations: 43.83 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.09471, allocations: 95.14 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.09489, allocations: 123.7 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.09499, allocations: 7.984 kB / 475 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.09509, allocations: 55.77 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.09518, allocations: 39.78 kB / 475.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.09521, allocations: 4 kB / 475.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.09532, allocations: 59.97 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.09538, allocations: 23.86 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.09545, allocations: 69.42 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.09565, allocations: 135.9 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.09567, allocations: 0 / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.09568, allocations: 0 / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.09569, allocations: 7.938 kB / 475.4 MB, free: 10.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000532/0.09622, allocations: 411.1 kB / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.09628, allocations: 8.031 kB / 475.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.09633, allocations: 30.75 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.09638, allocations: 12.84 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.09664, allocations: 228.7 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.09666, allocations: 8.375 kB / 476 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.0967, allocations: 11.84 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.09687, allocations: 69.66 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.09689, allocations: 0 / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.0969, allocations: 0 / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.09691, allocations: 0 / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.09703, allocations: 55.78 kB / 476.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.09744, allocations: 324.7 kB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.0977, allocations: 78.55 kB / 476.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.09778, allocations: 36.88 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.09781, allocations: 0 / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.098, allocations: 79.38 kB / 476.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.09802, allocations: 8 kB / 476.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007649/0.09879, allocations: 289 kB / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.09884, allocations: 55.34 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.09899, allocations: 183.3 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.09902, allocations: 33.69 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.09908, allocations: 104.3 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.09912, allocations: 43.53 kB / 477.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.09916, allocations: 25.7 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.09926, allocations: 326.8 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.09934, allocations: 35.98 kB / 477.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.09943, allocations: 53.7 kB / 477.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.0996, allocations: 102.5 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.09961, allocations: 0 / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002378/0.09985, allocations: 152 kB / 478.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.09988, allocations: 4 kB / 478.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.09989, allocations: 7.938 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.0999, allocations: 0 / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.787e-05/0.1, allocations: 31.92 kB / 478.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.1, allocations: 4 kB / 478.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.1001, allocations: 4 kB / 478.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1001, allocations: 11.92 kB / 478.1 MB, free: 7.25 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 (15): * Single equations (assignments): 15 * 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 0.0001014/0.1002, allocations: 137.8 kB / 478.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1002, allocations: 11.81 kB / 478.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.1003, allocations: 25.52 kB / 478.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1003, allocations: 3.938 kB / 478.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1003, allocations: 0 / 478.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1003, allocations: 3.938 kB / 478.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.1008, allocations: 488 kB / 478.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1009, allocations: 0 / 478.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.1009, allocations: 19.98 kB / 478.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1009, allocations: 4 kB / 478.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1009, allocations: 7.938 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1009, allocations: 4 kB / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.101, allocations: 0 / 478.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1012, allocations: 253.2 kB / 479.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1013, allocations: 100.9 kB / 479.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1013, allocations: 4 kB / 479.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.1014, allocations: 4 kB / 479.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1014, allocations: 15.92 kB / 479.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1015, allocations: 4 kB / 479.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.965e-05/0.1016, allocations: 144.8 kB / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 0 / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1018, allocations: 40 kB / 479.4 MB, free: 5.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001465/0.1033, allocations: 1.197 MB / 480.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.1035, allocations: 103.9 kB / 480.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1035, allocations: 0 / 480.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.1036, allocations: 51.91 kB / 480.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.104, allocations: 31.86 kB / 480.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.1057, allocations: 1.851 MB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.106, allocations: 0.7203 MB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.707e-05/0.1061, allocations: 25.41 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.1061, allocations: 43.42 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1061, allocations: 0 / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1188, allocations: 3.51 MB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1189, allocations: 245.6 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.773, allocations: 0 / 487.1 MB, free: 14.3 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches