Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.0006959/0.0006959, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0007408/0.0007408, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.191/1.191, allocations: 223.3 MB / 242.3 MB, free: 208 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.1728/0.1728, allocations: 44.25 MB / 337.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 12 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09082, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001789/0.09265, allocations: 1.417 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.09451, allocations: 1.429 MB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.09459, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.09485, allocations: 31.92 kB / 475.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.09504, allocations: 55.75 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.09533, allocations: 90.7 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.09549, allocations: 91.7 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.09558, allocations: 4.234 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.09567, allocations: 47.72 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.09582, allocations: 39.83 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.09585, allocations: 4 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.09597, allocations: 55.97 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.09602, allocations: 15.92 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.09608, allocations: 57.5 kB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.09628, allocations: 119.9 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09629, allocations: 3.938 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0963, allocations: 3.938 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.09631, allocations: 0 / 475.8 MB, free: 9.773 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.0005173/0.09683, allocations: 387.2 kB / 476.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.09688, allocations: 12.03 kB / 476.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.09693, allocations: 38.73 kB / 476.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.09698, allocations: 8.844 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.0972, allocations: 202.4 kB / 476.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.09722, allocations: 384 / 476.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.09724, allocations: 7.938 kB / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.0974, allocations: 71.33 kB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.09742, allocations: 0 / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.09743, allocations: 4 kB / 476.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.09744, allocations: 0 / 476.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.09752, allocations: 23.98 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.09785, allocations: 284.8 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.09802, allocations: 62.59 kB / 476.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.09808, allocations: 24.86 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.09811, allocations: 3.938 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.09827, allocations: 67.39 kB / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.09828, allocations: 0 / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005023/0.09879, allocations: 173.2 kB / 477.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.09885, allocations: 85.11 kB / 477.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.09899, allocations: 153.8 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.09902, allocations: 29.7 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.09907, allocations: 96.12 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.0991, allocations: 23.66 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.09913, allocations: 13.72 kB / 477.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.09923, allocations: 322.8 kB / 477.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.09929, allocations: 23.98 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.09936, allocations: 46.5 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.09948, allocations: 61.69 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.09949, allocations: 0 / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.09966, allocations: 97.61 kB / 478.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.09968, allocations: 6.5 kB / 478.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.09969, allocations: 80 / 478.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.09971, allocations: 4.188 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.0998, allocations: 15.98 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.09981, allocations: 11.98 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.09987, allocations: 7.938 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.09989, allocations: 8 kB / 478.2 MB, free: 7.188 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.281e-05/0.09997, allocations: 121.8 kB / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.1, allocations: 7.906 kB / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.1, allocations: 12.72 kB / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1, allocations: 4 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1001, allocations: 0 / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1001, allocations: 3.938 kB / 478.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.1005, allocations: 399.2 kB / 478.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1005, allocations: 0 / 478.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1005, allocations: 8 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1005, allocations: 3.938 kB / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1005, allocations: 0 / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1005, allocations: 4 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1006, allocations: 0 / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1008, allocations: 212.2 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1008, allocations: 85.02 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1008, allocations: 7.938 kB / 479 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.1009, allocations: 7.984 kB / 479 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.101, allocations: 4 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.101, allocations: 384 / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.48e-05/0.1011, allocations: 125.8 kB / 479.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1011, allocations: 0 / 479.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1013, allocations: 31.98 kB / 479.2 MB, free: 6.062 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.001388/0.1027, allocations: 1.131 MB / 480.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1029, allocations: 63.91 kB / 480.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1029, allocations: 0 / 480.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.103, allocations: 31.92 kB / 480.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1033, allocations: 27.98 kB / 480.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1047, allocations: 1.562 MB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.1049, allocations: 0.6965 MB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.105, allocations: 13.36 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.1051, allocations: 39.41 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1051, allocations: 3.938 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1189, allocations: 3.082 MB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.1191, allocations: 245 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.779, allocations: 0 / 486.1 MB, free: 15.33 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches