Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.0009444/0.0009445, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008977/0.0008976, allocations: 191.5 kB / 16.78 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3713/0.3713, allocations: 43.5 MB / 313.5 MB, free: 8.562 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 68.22 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1261, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003017/0.1291, allocations: 1.753 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1305, allocations: 0.8001 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.1306, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1309, allocations: 47.88 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1311, allocations: 51.81 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1313, allocations: 79.84 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1315, allocations: 91.75 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1316, allocations: 12.22 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.1317, allocations: 39.73 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.1318, allocations: 43.77 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1318, allocations: 0 / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.1319, allocations: 39.98 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.132, allocations: 27.91 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.132, allocations: 31.75 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1322, allocations: 123.8 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1322, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1322, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1322, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.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.0005208/0.1328, allocations: 430.8 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1328, allocations: 12.02 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1329, allocations: 34.75 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1329, allocations: 12.84 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1331, allocations: 219.9 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1332, allocations: 384 / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1332, allocations: 7.938 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1333, allocations: 57.61 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1334, allocations: 0 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1334, allocations: 0 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1334, allocations: 4 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.556e-05/0.1335, allocations: 23.98 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1338, allocations: 284.9 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.134, allocations: 62.61 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.1341, allocations: 16.86 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1341, allocations: 7.984 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.1343, allocations: 67.39 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1343, allocations: 0 / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.1349, allocations: 169.4 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1349, allocations: 55.39 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1351, allocations: 222.6 kB / 444.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1351, allocations: 33.7 kB / 444.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1352, allocations: 108.1 kB / 444.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1352, allocations: 27.64 kB / 444.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1353, allocations: 21.72 kB / 444.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1354, allocations: 326.8 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.1355, allocations: 20.05 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.1355, allocations: 41.64 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1357, allocations: 69.69 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1357, allocations: 0 / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001676/0.1358, allocations: 97.44 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1359, allocations: 8 kB / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1359, allocations: 192 / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1359, allocations: 0 / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.136, allocations: 19.92 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.136, allocations: 4 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.1361, allocations: 11.97 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1361, allocations: 4 kB / 445.5 MB, free: 8.906 MB / 382.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 9.86e-05/0.1362, allocations: 137.8 kB / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1362, allocations: 7.906 kB / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1363, allocations: 21.39 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1363, allocations: 0 / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1363, allocations: 0 / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1363, allocations: 3.938 kB / 445.6 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.1367, allocations: 403.2 kB / 446 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1367, allocations: 0 / 446 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.1367, allocations: 11.98 kB / 446.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1368, allocations: 3.938 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1368, allocations: 0 / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1368, allocations: 4 kB / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1368, allocations: 0 / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.137, allocations: 208.5 kB / 446.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1371, allocations: 88.92 kB / 446.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1371, allocations: 11.92 kB / 446.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1372, allocations: 4 kB / 446.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1372, allocations: 4 kB / 446.4 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1372, allocations: 7.984 kB / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1374, allocations: 168.3 kB / 446.5 MB, free: 7.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1374, allocations: 7.938 kB / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1376, allocations: 20 kB / 446.6 MB, free: 7.707 MB / 382.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.001394/0.139, allocations: 1.111 MB / 447.7 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1392, allocations: 51.98 kB / 447.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1392, allocations: 0 / 447.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.1393, allocations: 35.92 kB / 447.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1396, allocations: 35.83 kB / 447.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1413, allocations: 1.733 MB / 449.5 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1416, allocations: 0.7043 MB / 450.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.1416, allocations: 21.17 kB / 450.3 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.1417, allocations: 39.42 kB / 450.3 MB, free: 3.883 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1417, allocations: 0 / 450.3 MB, free: 3.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.1549, allocations: 3.282 MB / 453.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.1551, allocations: 238.4 kB / 453.8 MB, free: 324 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.828, allocations: 0 / 453.8 MB, free: 324 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches