Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001138/0.001138, allocations: 106.5 kB / 17.2 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.001168/0.001168, 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.379/1.379, 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.278/0.278, allocations: 44.18 MB / 336.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 72.11 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003597/0.1262, allocations: 1.757 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1278, allocations: 0.8653 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.1279, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1282, allocations: 31.89 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1285, allocations: 43.83 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1288, allocations: 99.38 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.129, allocations: 95.7 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1291, allocations: 12.23 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1292, allocations: 35.8 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.1293, allocations: 31.83 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1293, allocations: 4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1295, allocations: 43.92 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1295, allocations: 7.938 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.1296, allocations: 35.78 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1298, allocations: 111.9 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1298, allocations: 4 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1299, allocations: 0 / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1299, allocations: 0 / 471.8 MB, free: 11.54 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.0006094/0.1305, allocations: 411 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1305, allocations: 8.031 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.1306, allocations: 38.73 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1306, allocations: 12.84 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1309, allocations: 204 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1309, allocations: 8.375 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1309, allocations: 7.922 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1311, allocations: 53.67 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1311, allocations: 0 / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1311, allocations: 7.938 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1311, allocations: 0 / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.1312, allocations: 15.98 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1316, allocations: 288.8 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1318, allocations: 54.69 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.1319, allocations: 24.84 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1319, allocations: 0 / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1322, allocations: 71.23 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.807e-06/0.1322, allocations: 4 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000574/0.1327, allocations: 165.3 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1328, allocations: 59.34 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.133, allocations: 173.6 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.133, allocations: 29.7 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.1331, allocations: 96.12 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1331, allocations: 23.66 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.1332, allocations: 29.7 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1333, allocations: 326.8 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.1334, allocations: 19.98 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.1335, allocations: 29.72 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1336, allocations: 65.7 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1336, allocations: 3.938 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.1338, allocations: 109.5 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1339, allocations: 8.031 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.1339, allocations: 0 / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1339, allocations: 4 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.134, allocations: 15.94 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.134, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1341, allocations: 12.3 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1341, allocations: 0 / 474.1 MB, free: 8.965 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.0001106/0.1342, allocations: 125.8 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1342, allocations: 11.91 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.1343, allocations: 20.7 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1343, allocations: 0 / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1343, allocations: 4 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1343, allocations: 3.938 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.1348, allocations: 383.3 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1348, allocations: 4.188 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.1349, allocations: 12 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1349, allocations: 11.91 kB / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1349, allocations: 3.984 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1349, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1349, allocations: 7.938 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1351, allocations: 200.2 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.1352, allocations: 81.02 kB / 475 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1352, allocations: 7.938 kB / 475 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1353, allocations: 7.984 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1354, allocations: 4 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1354, allocations: 8 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1355, allocations: 135.1 kB / 475.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1355, allocations: 0 / 475.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1358, allocations: 24 kB / 475.2 MB, free: 7.82 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.001511/0.1373, allocations: 1.099 MB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1375, allocations: 63.91 kB / 476.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1376, allocations: 4 kB / 476.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.1376, allocations: 27.98 kB / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.138, allocations: 21.41 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1398, allocations: 1.617 MB / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1401, allocations: 0.7117 MB / 478.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.1402, allocations: 17.19 kB / 478.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.1403, allocations: 35.36 kB / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1403, allocations: 0 / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.1555, allocations: 3.066 MB / 481.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.1558, allocations: 230.9 kB / 482.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.183, allocations: 3.938 kB / 482.1 MB, free: 1.047 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches