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.001096/0.001096, allocations: 107.6 kB / 17.21 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.0009927/0.0009927, 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.356/1.356, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2042/0.2042, allocations: 44.18 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.58 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003266/0.1155, allocations: 1.94 MB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.117, allocations: 0.9628 MB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.1171, allocations: 11.88 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.1176, allocations: 243.5 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.118, allocations: 171.5 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.1184, allocations: 171.4 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.1187, allocations: 239.3 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1188, allocations: 25.69 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1189, allocations: 123.5 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1192, allocations: 175.5 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1192, allocations: 4 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1193, allocations: 63.92 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.1194, allocations: 63.75 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.14e-05/0.1195, allocations: 95.28 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1198, allocations: 235.4 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1198, allocations: 0 / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1198, allocations: 8 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1198, allocations: 0 / 473.1 MB, free: 10.2 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.000756/0.1206, allocations: 0.5641 MB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1207, allocations: 12.03 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.1207, allocations: 34.75 kB / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1208, allocations: 32.56 kB / 473.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1211, allocations: 288 kB / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1211, allocations: 4.375 kB / 474.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1212, allocations: 15.94 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1214, allocations: 114.1 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1214, allocations: 4 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1214, allocations: 0 / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1215, allocations: 0 / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1216, allocations: 55.89 kB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1222, allocations: 484.7 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.1226, allocations: 121.2 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1227, allocations: 49.83 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1227, allocations: 0 / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.123, allocations: 117 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.123, allocations: 0 / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001316/0.1243, allocations: 0.4966 MB / 475.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1244, allocations: 85.05 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.1249, allocations: 481.6 kB / 476.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1249, allocations: 33.7 kB / 476.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.125, allocations: 164.5 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.1251, allocations: 67.08 kB / 476.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.1252, allocations: 41.72 kB / 476.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1253, allocations: 354.8 kB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1255, allocations: 59.91 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1256, allocations: 95.28 kB / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.1259, allocations: 163.3 kB / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1259, allocations: 0 / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003882/0.1263, allocations: 233.2 kB / 477.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1263, allocations: 8 kB / 477.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1263, allocations: 0 / 477.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1263, allocations: 4 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1265, allocations: 47.91 kB / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1265, allocations: 4 kB / 477.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.1266, allocations: 7.906 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1266, allocations: 12.06 kB / 477.3 MB, free: 5.727 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.0001738/0.1268, allocations: 182.2 kB / 477.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.1269, allocations: 39.5 kB / 477.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.127, allocations: 46.81 kB / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.127, allocations: 0 / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.127, allocations: 4 kB / 477.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.127, allocations: 4 kB / 477.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/0.1279, allocations: 0.735 MB / 478.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1279, allocations: 4 kB / 478.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.128, allocations: 27.98 kB / 478.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.128, allocations: 0 / 478.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.128, allocations: 8.125 kB / 478.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.128, allocations: 11.98 kB / 478.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.128, allocations: 7.875 kB / 478.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.1285, allocations: 415.1 kB / 478.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.1286, allocations: 104.9 kB / 478.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.1287, allocations: 8 kB / 478.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1288, allocations: 11.94 kB / 478.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.1289, allocations: 23.84 kB / 478.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1289, allocations: 16 kB / 479 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.1292, allocations: 359.1 kB / 479.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1292, allocations: 0 / 479.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.1296, allocations: 52 kB / 479.4 MB, free: 3.57 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.001869/0.1315, allocations: 1.367 MB / 480.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.1318, allocations: 159.8 kB / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1318, allocations: 0 / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.132, allocations: 80.22 kB / 481 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.1326, allocations: 65.38 kB / 481 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.136, allocations: 3.016 MB / 484 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1364, allocations: 0.7833 MB / 484.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1365, allocations: 37.94 kB / 484.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1367, allocations: 95.39 kB / 485 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1367, allocations: 0 / 485 MB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.1537, allocations: 6.148 MB / 491.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.154, allocations: 234.9 kB / 491.3 MB, free: 7.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.941, allocations: 0 / 491.3 MB, free: 7.723 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