Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001759/0.00176, 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.00204/0.00204, 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.369/1.369, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2512/0.2512, allocations: 44.17 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 64.62 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1286, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003774/0.1325, allocations: 1.756 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.134, allocations: 0.8693 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.995e-05/0.1342, allocations: 3.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1345, allocations: 51.86 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1348, allocations: 51.81 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1352, allocations: 91.78 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1354, allocations: 99.69 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1355, allocations: 4.234 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1357, allocations: 51.7 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.1357, allocations: 31.8 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1358, allocations: 4 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1359, allocations: 43.97 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.136, allocations: 35.84 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1361, allocations: 35.69 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1363, allocations: 131.8 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1363, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1363, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1364, allocations: 0 / 471.9 MB, free: 11.46 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.0006122/0.137, allocations: 438.8 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.137, allocations: 12.03 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1371, allocations: 30.75 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1371, allocations: 20.75 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1374, allocations: 216 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1374, allocations: 384 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1375, allocations: 7.938 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1376, allocations: 53.67 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1376, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1377, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1377, allocations: 7.984 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1378, allocations: 15.94 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.1382, allocations: 304.9 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1384, allocations: 54.67 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.1385, allocations: 20.86 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1385, allocations: 0 / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.1388, allocations: 79.25 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1388, allocations: 0 / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005574/0.1394, allocations: 185 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1394, allocations: 51.41 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1397, allocations: 274.9 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1397, allocations: 25.7 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1398, allocations: 112.1 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1398, allocations: 23.7 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1398, allocations: 21.72 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.14, allocations: 330.8 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.14, allocations: 20 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.1401, allocations: 41.64 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1402, allocations: 57.64 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1402, allocations: 4 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.1404, allocations: 105.5 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1405, allocations: 4 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1405, allocations: 3.938 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1405, allocations: 7.984 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.1406, allocations: 12 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1406, allocations: 160 / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.1407, allocations: 11.88 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1407, allocations: 0 / 474.4 MB, free: 8.711 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 0.0001113/0.1408, allocations: 137.9 kB / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1408, allocations: 19.8 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1409, allocations: 25.39 kB / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1409, allocations: 0 / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1409, allocations: 3.984 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1409, allocations: 3.938 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1414, allocations: 395.3 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1414, allocations: 4.031 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1414, allocations: 12.31 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.1415, allocations: 11.92 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1415, allocations: 0 / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1415, allocations: 4 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1415, allocations: 4 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1417, allocations: 204.2 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1418, allocations: 96.86 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1418, allocations: 7.938 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1419, allocations: 7.984 kB / 475.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.142, allocations: 4 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.142, allocations: 0 / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1422, allocations: 204.2 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1422, allocations: 3.938 kB / 475.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1424, allocations: 28 kB / 475.5 MB, free: 7.453 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.001543/0.144, allocations: 1.097 MB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.1442, allocations: 63.91 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1442, allocations: 0 / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.1443, allocations: 27.92 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1446, allocations: 24.3 kB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1467, allocations: 1.822 MB / 478.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.147, allocations: 0.7238 MB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1471, allocations: 8.891 kB / 479.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1472, allocations: 43.41 kB / 479.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1472, allocations: 0 / 479.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9849/1.132, allocations: 3.467 MB / 482.8 MB, free: 332 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/1.132, allocations: 238.9 kB / 483 MB, free: 64 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.913, allocations: 0 / 483 MB, free: 64 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches