Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.00154/0.001541, allocations: 104 kB / 17.63 MB, free: 5.523 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.002178/0.002178, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.436/1.436, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2036/0.2036, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.62 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1184, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004538/0.123, allocations: 1.886 MB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1256, allocations: 0.986 MB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1258, allocations: 11.94 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.1266, allocations: 251.4 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1271, allocations: 183.4 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.1276, allocations: 182 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.1281, allocations: 251.3 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1282, allocations: 33.66 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1284, allocations: 127.5 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1287, allocations: 187.5 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1287, allocations: 8 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1289, allocations: 55.98 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.129, allocations: 59.77 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1291, allocations: 99.22 kB / 473.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.1295, allocations: 239.4 kB / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1295, allocations: 0 / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1295, allocations: 0 / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1295, allocations: 0 / 473.9 MB, free: 9.715 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009706/0.1305, allocations: 0.5681 MB / 474.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.1305, allocations: 8.031 kB / 474.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.1306, allocations: 42.69 kB / 474.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.1307, allocations: 28.56 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.1312, allocations: 288 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.1313, allocations: 12.38 kB / 474.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1313, allocations: 7.938 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.1316, allocations: 119.2 kB / 475 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.1317, allocations: 0 / 475 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1317, allocations: 4 kB / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1317, allocations: 4 kB / 475 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1319, allocations: 43.95 kB / 475 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.1328, allocations: 480.7 kB / 475.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.1332, allocations: 129.2 kB / 475.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1333, allocations: 41.83 kB / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1334, allocations: 7.984 kB / 475.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.1337, allocations: 125.1 kB / 475.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1338, allocations: 0 / 475.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001406/0.1352, allocations: 0.4923 MB / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.1353, allocations: 85.05 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.1359, allocations: 489.6 kB / 476.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1359, allocations: 29.7 kB / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.136, allocations: 160.5 kB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.1361, allocations: 71.09 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.1362, allocations: 41.7 kB / 477.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1364, allocations: 354.7 kB / 477.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1365, allocations: 55.97 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1366, allocations: 95.34 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1369, allocations: 159.5 kB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1369, allocations: 0 / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003888/0.1373, allocations: 241.1 kB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1373, allocations: 4 kB / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1374, allocations: 4 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1374, allocations: 0 / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1375, allocations: 43.97 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1375, allocations: 3.938 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.1376, allocations: 15.91 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1376, allocations: 8 kB / 478.1 MB, free: 5.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001642/0.1378, allocations: 181.8 kB / 478.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1379, allocations: 39.5 kB / 478.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.95e-05/0.138, allocations: 38.81 kB / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.138, allocations: 4 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.138, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.138, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.1389, allocations: 0.735 MB / 479.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1389, allocations: 0 / 479.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.139, allocations: 35.92 kB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.139, allocations: 4 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.139, allocations: 4 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.139, allocations: 0 / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.139, allocations: 7.938 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1395, allocations: 418 kB / 479.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.1396, allocations: 108.7 kB / 479.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.1396, allocations: 11.92 kB / 479.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1398, allocations: 12 kB / 479.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1398, allocations: 23.91 kB / 479.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.1399, allocations: 8 kB / 479.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.1402, allocations: 363.1 kB / 480.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.1402, allocations: 0 / 480.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.1406, allocations: 47.94 kB / 480.1 MB, free: 3.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001835/0.1425, allocations: 1.368 MB / 481.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.1428, allocations: 173.2 kB / 481.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1428, allocations: 0 / 481.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.143, allocations: 75.86 kB / 481.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.1436, allocations: 64.88 kB / 481.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.147, allocations: 2.972 MB / 484.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1474, allocations: 0.7831 MB / 485.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1475, allocations: 37.92 kB / 485.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1476, allocations: 95.77 kB / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1476, allocations: 4 kB / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1737, allocations: 6.384 MB / 492 MB, free: 7.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.623, allocations: 8.359 kB / 492.1 MB, free: 7.254 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches