Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001202/0.001203, allocations: 107 kB / 17.33 MB, free: 6.023 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.001232/0.001232, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.474/1.474, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2233/0.2233, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.27 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003345/0.127, allocations: 1.761 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1292, allocations: 1.452 MB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.1293, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1296, allocations: 35.84 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1299, allocations: 55.83 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1303, allocations: 94.39 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1305, allocations: 99.69 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1306, allocations: 8.234 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1307, allocations: 43.78 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1309, allocations: 35.84 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1309, allocations: 4 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1311, allocations: 67.95 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.1311, allocations: 19.86 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.1312, allocations: 27.81 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1314, allocations: 127.9 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1314, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1314, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1315, allocations: 4 kB / 472.7 MB, free: 10.77 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.0005649/0.132, allocations: 399.2 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1321, allocations: 12.03 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.1321, allocations: 34.75 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.1322, allocations: 12.84 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1324, allocations: 204 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1324, allocations: 8.312 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1325, allocations: 7.938 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1327, allocations: 67.39 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1327, allocations: 0 / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1327, allocations: 0 / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1327, allocations: 4 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.1328, allocations: 19.98 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1332, allocations: 284.8 kB / 473.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1334, allocations: 62.61 kB / 473.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.1334, allocations: 16.86 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1335, allocations: 4 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.1337, allocations: 75.31 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.1337, allocations: 3.984 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005903/0.1343, allocations: 173.2 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1344, allocations: 81.05 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1345, allocations: 153.8 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1346, allocations: 29.7 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1346, allocations: 100.1 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1347, allocations: 23.66 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.1347, allocations: 25.7 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1348, allocations: 314.8 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.1349, allocations: 23.98 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.135, allocations: 42.56 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1351, allocations: 69.73 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1351, allocations: 0 / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.1353, allocations: 97.58 kB / 475 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1353, allocations: 4 kB / 475 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1353, allocations: 0 / 475 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1354, allocations: 3.984 kB / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.1355, allocations: 19.94 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1355, allocations: 0 / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.1355, allocations: 11.97 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1355, allocations: 4 kB / 475 MB, free: 8.164 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.000116/0.1357, allocations: 121.8 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1357, allocations: 7.906 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.1358, allocations: 12.72 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1358, allocations: 192 / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1358, allocations: 0 / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1358, allocations: 11.86 kB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.1363, allocations: 387.3 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1363, allocations: 0 / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.1363, allocations: 8 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1363, allocations: 3.938 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1363, allocations: 7.984 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.1364, allocations: 7.875 kB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1364, allocations: 0 / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1366, allocations: 208.2 kB / 475.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.1367, allocations: 85.02 kB / 475.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.1367, allocations: 7.938 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.1368, allocations: 4.375 kB / 475.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1369, allocations: 7.984 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1369, allocations: 8 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.137, allocations: 117.7 kB / 476 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.137, allocations: 4 kB / 476 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1373, allocations: 31.98 kB / 476 MB, free: 7.035 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.001789/0.1391, allocations: 1.129 MB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1394, allocations: 71.91 kB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1394, allocations: 0 / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1395, allocations: 31.92 kB / 477.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1399, allocations: 23.98 kB / 477.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1417, allocations: 1.552 MB / 478.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.142, allocations: 0.6963 MB / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.77e-05/0.1421, allocations: 21.33 kB / 479.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.1422, allocations: 35.42 kB / 479.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1422, allocations: 0 / 479.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.1623, allocations: 3.399 MB / 483 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/0.1627, allocations: 245.6 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/1.989, allocations: 0 / 483.2 MB, free: 15.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches