Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001121/0.001121, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001173/0.001173, allocations: 194 kB / 18.12 MB, free: 5.383 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.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2164/0.2164, allocations: 44.17 MB / 336.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.17 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.84 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004024/0.1168, allocations: 2.051 MB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1193, allocations: 0.9587 MB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1196, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.1201, allocations: 47.77 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1206, allocations: 55.73 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.1213, allocations: 127.7 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.1218, allocations: 191.4 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1221, allocations: 21.67 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.1223, allocations: 71.64 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1226, allocations: 83.61 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.1227, allocations: 8 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.1229, allocations: 47.92 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1231, allocations: 35.83 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1232, allocations: 63.59 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.1238, allocations: 179.7 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1238, allocations: 0 / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1238, allocations: 0 / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1238, allocations: 0 / 472.6 MB, free: 10.76 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001992/0.1258, allocations: 0.5604 MB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.1259, allocations: 8.031 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.744e-05/0.126, allocations: 42.73 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.1262, allocations: 24.66 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.1268, allocations: 228.9 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.1269, allocations: 12.36 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.1269, allocations: 15.94 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1276, allocations: 156 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1277, allocations: 0 / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1277, allocations: 8 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1277, allocations: 0 / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.1285, allocations: 115.8 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.1296, allocations: 0.5437 MB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1306, allocations: 162.5 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.131, allocations: 72.8 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1311, allocations: 11.98 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006977/0.1318, allocations: 135.2 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.314e-06/0.1318, allocations: 0 / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001376/0.1332, allocations: 253.3 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1333, allocations: 55.41 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.1336, allocations: 227.1 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1337, allocations: 29.7 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1338, allocations: 124.2 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.1339, allocations: 39.67 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.134, allocations: 37.7 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1342, allocations: 334.8 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.1346, allocations: 63.94 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.1351, allocations: 112.1 kB / 475.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007731/0.1359, allocations: 192.5 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1359, allocations: 4 kB / 476.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009946/0.1369, allocations: 247 kB / 476.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.137, allocations: 37.69 kB / 476.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.137, allocations: 4.125 kB / 476.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.137, allocations: 7.938 kB / 476.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.1373, allocations: 35.91 kB / 476.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1373, allocations: 0 / 476.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.1376, allocations: 35.81 kB / 476.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.1377, allocations: 4 kB / 476.4 MB, free: 6.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001928/0.1379, allocations: 133.8 kB / 476.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.138, allocations: 23.81 kB / 476.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.138, allocations: 25.39 kB / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1381, allocations: 3.938 kB / 476.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1381, allocations: 0 / 476.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1381, allocations: 3.984 kB / 476.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1384, allocations: 237.4 kB / 476.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1384, allocations: 0 / 476.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.1387, allocations: 23.97 kB / 476.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1387, allocations: 3.938 kB / 476.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.1387, allocations: 4 kB / 476.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1387, allocations: 7.938 kB / 476.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1388, allocations: 3.984 kB / 476.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.14, allocations: 304.6 kB / 477.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.1401, allocations: 92.94 kB / 477.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.1402, allocations: 4 kB / 477.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.1404, allocations: 27.89 kB / 477.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1406, allocations: 11.98 kB / 477.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.1406, allocations: 11.98 kB / 477.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1409, allocations: 156.7 kB / 477.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1409, allocations: 0 / 477.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.1413, allocations: 47.95 kB / 477.6 MB, free: 5.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003187/0.1445, allocations: 1.147 MB / 478.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.1455, allocations: 211.2 kB / 478.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1455, allocations: 0 / 478.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.1459, allocations: 88.12 kB / 479 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.1465, allocations: 51.45 kB / 479 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.1516, allocations: 2.183 MB / 481.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.1521, allocations: 0.7205 MB / 481.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.1522, allocations: 21.55 kB / 482 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1524, allocations: 47.42 kB / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1524, allocations: 0 / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.1771, allocations: 4.539 MB / 486.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/0.1775, allocations: 241.8 kB / 486.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.388, allocations: 0 / 486.8 MB, free: 12.21 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches