Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.0009193/0.0009193, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.001204/0.001204, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.253/1.253, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1803/0.1803, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 9.531 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1222, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001905/0.1241, allocations: 1.417 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1253, allocations: 0.8499 MB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1254, allocations: 0 / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1257, allocations: 51.86 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1258, allocations: 55.81 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1261, allocations: 94.77 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1262, allocations: 99.69 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.1263, allocations: 4.234 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.1264, allocations: 43.78 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.1265, allocations: 31.8 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1265, allocations: 0 / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.1266, allocations: 47.97 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1267, allocations: 27.91 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.1267, allocations: 61.39 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1269, allocations: 127.8 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1269, allocations: 3.984 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1269, allocations: 0 / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.127, allocations: 0 / 475.3 MB, free: 10.3 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.0004908/0.1275, allocations: 422.8 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1275, allocations: 12.03 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.1276, allocations: 46.67 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.1276, allocations: 12.84 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1278, allocations: 215.9 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1278, allocations: 384 / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1279, allocations: 15.92 kB / 476 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.128, allocations: 49.67 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.128, allocations: 0 / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1281, allocations: 4 kB / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1281, allocations: 0 / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.1281, allocations: 23.92 kB / 476.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.1285, allocations: 304.9 kB / 476.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1286, allocations: 50.69 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.1287, allocations: 24.84 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1287, allocations: 0 / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.1289, allocations: 71.33 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1289, allocations: 0 / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006038/0.1295, allocations: 185 kB / 476.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1295, allocations: 51.41 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1298, allocations: 266.9 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1298, allocations: 29.7 kB / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.1299, allocations: 112 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1299, allocations: 23.72 kB / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.1299, allocations: 21.7 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1301, allocations: 326.8 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.1301, allocations: 23.92 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.1302, allocations: 29.72 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1303, allocations: 65.64 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1303, allocations: 4 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1305, allocations: 101.6 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1305, allocations: 7.938 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1306, allocations: 0 / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1306, allocations: 0 / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.1307, allocations: 16 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1307, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.1307, allocations: 19.86 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1307, allocations: 0 / 477.8 MB, free: 7.562 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.0001036/0.1309, allocations: 140.7 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1309, allocations: 15.81 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.1309, allocations: 25.33 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.131, allocations: 0 / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.131, allocations: 384 / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.131, allocations: 3.938 kB / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.1314, allocations: 411.4 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1314, allocations: 4 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.1314, allocations: 15.92 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1315, allocations: 7.938 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1315, allocations: 0 / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1315, allocations: 0 / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1315, allocations: 0 / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1317, allocations: 208.2 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1317, allocations: 89 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1318, allocations: 3.938 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1319, allocations: 8 kB / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1319, allocations: 7.984 kB / 478.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1319, allocations: 4 kB / 478.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1321, allocations: 200.2 kB / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1321, allocations: 0 / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1323, allocations: 27.98 kB / 478.9 MB, free: 6.312 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.001426/0.1338, allocations: 1.096 MB / 480 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.134, allocations: 67.89 kB / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.134, allocations: 0 / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.134, allocations: 23.94 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1344, allocations: 31.91 kB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1361, allocations: 1.828 MB / 481.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1364, allocations: 0.716 MB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.1365, allocations: 12.88 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.1365, allocations: 43.41 kB / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1366, allocations: 0 / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.1495, allocations: 3.275 MB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.1498, allocations: 240.8 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.966, allocations: 0 / 486.2 MB, free: 15.13 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches