Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_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.0009559/0.000956, allocations: 92.78 kB / 17.35 MB, free: 6.371 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.001261/0.001261, allocations: 176.6 kB / 18.25 MB, free: 5.523 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.309/1.309, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1939/0.1939, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002029/0.1248, allocations: 1.421 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1262, allocations: 0.8421 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.1263, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1266, allocations: 47.88 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1269, allocations: 51.83 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1272, allocations: 91.77 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1274, allocations: 99.67 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.1275, allocations: 4.234 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1276, allocations: 39.8 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.1277, allocations: 39.77 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1278, allocations: 4 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1279, allocations: 39.98 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.128, allocations: 19.92 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.1281, allocations: 65.44 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1283, allocations: 115.8 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1283, allocations: 0 / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1283, allocations: 0 / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1283, allocations: 0 / 475.2 MB, free: 10.35 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.0005782/0.1289, allocations: 411 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.129, allocations: 12.03 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.129, allocations: 34.75 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1291, allocations: 16.75 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1293, allocations: 212.5 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1294, allocations: 4.312 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1294, allocations: 7.938 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1296, allocations: 53.67 kB / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1296, allocations: 0 / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1296, allocations: 0 / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1296, allocations: 4 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.1297, allocations: 27.92 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.1301, allocations: 296.8 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1303, allocations: 58.69 kB / 476.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1304, allocations: 24.84 kB / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1304, allocations: 4 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.1306, allocations: 75.23 kB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1306, allocations: 0 / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.1312, allocations: 169.2 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1313, allocations: 55.41 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1315, allocations: 226.6 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1315, allocations: 25.7 kB / 476.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.1316, allocations: 116.1 kB / 477 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.1316, allocations: 23.66 kB / 477.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.1317, allocations: 13.7 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1318, allocations: 326.8 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.1318, allocations: 16 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.1319, allocations: 37.7 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1321, allocations: 69.62 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1321, allocations: 0 / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.1323, allocations: 101.6 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1323, allocations: 11.98 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1323, allocations: 3.938 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1323, allocations: 0 / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.1324, allocations: 12 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1324, allocations: 4 kB / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1325, allocations: 7.953 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1325, allocations: 11.98 kB / 477.7 MB, free: 7.672 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.0001057/0.1326, allocations: 125.8 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1326, allocations: 19.75 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1327, allocations: 17.39 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1327, allocations: 192 / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1327, allocations: 4 kB / 477.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1327, allocations: 7.875 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1331, allocations: 399.3 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1332, allocations: 0 / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1332, allocations: 11.94 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1332, allocations: 3.938 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1332, allocations: 8 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1332, allocations: 0 / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1332, allocations: 0 / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1335, allocations: 200.2 kB / 478.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.1336, allocations: 93 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1336, allocations: 8.312 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.1337, allocations: 0 / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1337, allocations: 11.98 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1337, allocations: 8 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1339, allocations: 176.3 kB / 478.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1339, allocations: 3.938 kB / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1342, allocations: 28 kB / 478.8 MB, free: 6.465 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.00162/0.1358, allocations: 1.092 MB / 479.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.136, allocations: 63.89 kB / 479.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.136, allocations: 0 / 479.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.075e-05/0.1361, allocations: 31.92 kB / 479.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1364, allocations: 26.95 kB / 480 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1384, allocations: 1.741 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1387, allocations: 0.716 MB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1388, allocations: 8.891 kB / 482.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.1389, allocations: 35.42 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1389, allocations: 0 / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.1541, allocations: 3.111 MB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.1543, allocations: 237.3 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.853, allocations: 3.938 kB / 485.8 MB, free: 15.56 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches