Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.001044/0.001044, 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.001015/0.001015, allocations: 194.4 kB / 16.79 MB, free: 6.832 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.521/1.521, allocations: 205.1 MB / 222.6 MB, free: 4.805 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.3602/0.3602, allocations: 43.49 MB / 313.5 MB, free: 8.547 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.001429/0.001429, allocations: 67.89 kB / 382.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 57.79 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003069/0.1345, allocations: 1.756 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1357, allocations: 0.7885 MB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.1358, allocations: 7.938 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1361, allocations: 35.89 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1363, allocations: 43.83 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1365, allocations: 83.84 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1367, allocations: 87.77 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1368, allocations: 16.19 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.1369, allocations: 43.72 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.137, allocations: 27.86 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.137, allocations: 3.938 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.1371, allocations: 43.97 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.1372, allocations: 15.98 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.1372, allocations: 35.75 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1374, allocations: 111.9 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1374, allocations: 3.938 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1374, allocations: 0 / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1375, allocations: 0 / 443 MB, free: 11.65 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.0005512/0.138, allocations: 410.9 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1381, allocations: 12.03 kB / 443.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1381, allocations: 42.69 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1381, allocations: 8.844 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1384, allocations: 216 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1384, allocations: 4.375 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1384, allocations: 7.938 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1386, allocations: 53.67 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1386, allocations: 3.938 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1386, allocations: 0 / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1386, allocations: 0 / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.1387, allocations: 19.98 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1391, allocations: 288.8 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1393, allocations: 62.61 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.1393, allocations: 20.84 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1393, allocations: 4 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1395, allocations: 67.39 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1395, allocations: 0 / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005406/0.1401, allocations: 169.2 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1401, allocations: 51.41 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1403, allocations: 190.1 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1403, allocations: 25.7 kB / 444.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.1404, allocations: 100.1 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.1405, allocations: 27.69 kB / 444.8 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1405, allocations: 29.72 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1406, allocations: 322.8 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.1407, allocations: 23.98 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1408, allocations: 37.64 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1409, allocations: 49.72 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1409, allocations: 4 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.1411, allocations: 105.5 kB / 445.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1411, allocations: 4 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1411, allocations: 0 / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1411, allocations: 4.188 kB / 445.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.1412, allocations: 16.36 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1412, allocations: 3.938 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1413, allocations: 11.88 kB / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1413, allocations: 4 kB / 445.4 MB, free: 9.047 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.809e-05/0.1414, allocations: 133.9 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1414, allocations: 15.75 kB / 445.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.1415, allocations: 12.72 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1415, allocations: 4 kB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1415, allocations: 0 / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1415, allocations: 3.938 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.1419, allocations: 391.3 kB / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1419, allocations: 0 / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.1419, allocations: 12.03 kB / 445.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1419, allocations: 7.938 kB / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.142, allocations: 0 / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.142, allocations: 0 / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.142, allocations: 0 / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1422, allocations: 204.5 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1422, allocations: 89 kB / 446.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1423, allocations: 11.94 kB / 446.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.1424, allocations: 7.938 kB / 446.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1424, allocations: 7.984 kB / 446.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1424, allocations: 4 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1425, allocations: 140.1 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1425, allocations: 0 / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1428, allocations: 31.89 kB / 446.4 MB, free: 7.891 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.001432/0.1442, allocations: 1.105 MB / 447.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1444, allocations: 63.91 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1444, allocations: 0 / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.1445, allocations: 31.92 kB / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1448, allocations: 31.78 kB / 447.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1465, allocations: 1.649 MB / 449.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1469, allocations: 0.7083 MB / 450 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.147, allocations: 21.17 kB / 450 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.1471, allocations: 31.42 kB / 450.1 MB, free: 4.141 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1471, allocations: 0 / 450.1 MB, free: 4.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.161, allocations: 3.102 MB / 453.2 MB, free: 1.012 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.1612, allocations: 242.4 kB / 453.4 MB, free: 0.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.827, allocations: 0 / 453.4 MB, free: 0.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches