Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.001022/0.001022, allocations: 104.3 kB / 15.98 MB, free: 6.348 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.000925/0.0009251, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.781/1.781, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.435/0.435, allocations: 43.5 MB / 313.6 MB, free: 8.504 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.001569/0.001569, allocations: 71.89 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1296, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003594/0.1332, allocations: 1.756 MB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1346, allocations: 0.7924 MB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1348, allocations: 0 / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1351, allocations: 35.83 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.1355, allocations: 47.83 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1358, allocations: 75.84 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.136, allocations: 91.77 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1361, allocations: 20.2 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1362, allocations: 43.78 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1363, allocations: 31.8 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1364, allocations: 4 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1365, allocations: 43.92 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.1366, allocations: 23.91 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.1366, allocations: 31.8 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1369, allocations: 107.9 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.1369, allocations: 7.922 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1369, allocations: 0 / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1369, allocations: 0 / 443.2 MB, free: 11.49 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.0005646/0.1375, allocations: 418.9 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1375, allocations: 11.89 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.1376, allocations: 38.73 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1376, allocations: 8.844 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1379, allocations: 208 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1379, allocations: 4.375 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1379, allocations: 7.922 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1381, allocations: 53.67 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1381, allocations: 4 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1381, allocations: 0 / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1381, allocations: 4 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.49e-05/0.1382, allocations: 19.98 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1386, allocations: 296.7 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1388, allocations: 54.67 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.1389, allocations: 24.84 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1389, allocations: 0 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.1391, allocations: 67.33 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1391, allocations: 0 / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.1397, allocations: 169.3 kB / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1397, allocations: 63.34 kB / 444.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1399, allocations: 190.1 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1399, allocations: 25.7 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.14, allocations: 100.1 kB / 444.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.14, allocations: 23.7 kB / 445 MB, free: 9.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.1401, allocations: 17.72 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1402, allocations: 326.8 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.1403, allocations: 19.98 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.1403, allocations: 37.7 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1405, allocations: 69.62 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1405, allocations: 384 / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001614/0.1406, allocations: 93.66 kB / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1407, allocations: 4 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1407, allocations: 4 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1407, allocations: 224 / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.1408, allocations: 35.86 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1408, allocations: 3.938 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.1408, allocations: 7.938 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1409, allocations: 4 kB / 445.6 MB, free: 8.875 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.116e-05/0.141, allocations: 125.8 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.141, allocations: 11.81 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.141, allocations: 12.72 kB / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.141, allocations: 7.984 kB / 445.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1411, allocations: 4 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1411, allocations: 3.938 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1415, allocations: 387.3 kB / 446.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1415, allocations: 4 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.1415, allocations: 8 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1415, allocations: 3.938 kB / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1415, allocations: 0 / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1415, allocations: 3.938 kB / 446.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1416, allocations: 12.02 kB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.1418, allocations: 196.3 kB / 446.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.1418, allocations: 81.02 kB / 446.4 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1418, allocations: 7.938 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1419, allocations: 0 / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.142, allocations: 7.984 kB / 446.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.142, allocations: 12 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1421, allocations: 144 kB / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1421, allocations: 0 / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1424, allocations: 27.91 kB / 446.6 MB, free: 7.734 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.001438/0.1438, allocations: 1.119 MB / 447.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.144, allocations: 59.91 kB / 447.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.144, allocations: 0 / 447.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.1441, allocations: 39.98 kB / 447.8 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1444, allocations: 27.84 kB / 447.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.1461, allocations: 1.639 MB / 449.5 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1464, allocations: 0.708 MB / 450.2 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.1464, allocations: 8.891 kB / 450.2 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.1465, allocations: 31.42 kB / 450.2 MB, free: 3.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1465, allocations: 4 kB / 450.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.1607, allocations: 3.2 MB / 453.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.161, allocations: 238.6 kB / 453.7 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.941, allocations: 0 / 453.7 MB, free: 0.5117 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches