Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.001316/0.001316, allocations: 104.2 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.001318/0.001318, allocations: 191.9 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.38/1.38, 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.2184/0.2184, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 65.41 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1127, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003147/0.1158, allocations: 1.887 MB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1175, allocations: 0.9861 MB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1176, allocations: 7.938 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.1181, allocations: 247.4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1185, allocations: 183.4 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.119, allocations: 177.8 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1193, allocations: 263.3 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1195, allocations: 29.66 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.1197, allocations: 131.5 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1199, allocations: 183.5 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.12, allocations: 8 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1201, allocations: 63.97 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.1202, allocations: 59.77 kB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.1203, allocations: 95.22 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.1206, allocations: 243.3 kB / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1207, allocations: 0 / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1207, allocations: 0 / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1207, allocations: 0 / 473.9 MB, free: 9.707 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.0008863/0.1216, allocations: 0.5681 MB / 474.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1216, allocations: 12.02 kB / 474.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.1217, allocations: 42.69 kB / 474.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.1218, allocations: 28.56 kB / 474.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1222, allocations: 284 kB / 474.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1222, allocations: 4.375 kB / 474.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1223, allocations: 11.94 kB / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1225, allocations: 119.2 kB / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1226, allocations: 0 / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1226, allocations: 0 / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1226, allocations: 4 kB / 475 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1228, allocations: 47.95 kB / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.1235, allocations: 484.6 kB / 475.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.124, allocations: 117.2 kB / 475.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1241, allocations: 45.77 kB / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1242, allocations: 4 kB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.1246, allocations: 129.2 kB / 475.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1246, allocations: 0 / 475.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001464/0.1261, allocations: 0.4957 MB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1261, allocations: 89.05 kB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.1267, allocations: 481.7 kB / 476.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1267, allocations: 33.69 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1268, allocations: 164.5 kB / 477 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.1269, allocations: 63.11 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.127, allocations: 45.7 kB / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1272, allocations: 342.8 kB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1273, allocations: 63.97 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1275, allocations: 91.34 kB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1277, allocations: 159.5 kB / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1277, allocations: 0 / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004089/0.1282, allocations: 241 kB / 478 MB, free: 5.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1282, allocations: 4 kB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1282, allocations: 0 / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1282, allocations: 4 kB / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1284, allocations: 43.97 kB / 478 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1284, allocations: 3.938 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.1285, allocations: 11.91 kB / 478.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1285, allocations: 13.17 kB / 478.1 MB, free: 5.23 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.0002015/0.1287, allocations: 177.8 kB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.1288, allocations: 43.47 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.1289, allocations: 42.81 kB / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1289, allocations: 4 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1289, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.129, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1301, allocations: 0.7428 MB / 479.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1301, allocations: 0 / 479.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/0.1302, allocations: 31.92 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.1302, allocations: 4 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1303, allocations: 4 kB / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1303, allocations: 0 / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1303, allocations: 8.062 kB / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.1308, allocations: 423.2 kB / 479.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.1309, allocations: 104.7 kB / 479.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.1309, allocations: 19.98 kB / 479.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1311, allocations: 4 kB / 479.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1312, allocations: 19.92 kB / 479.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1312, allocations: 11.98 kB / 479.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003291/0.1315, allocations: 359.1 kB / 480 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1315, allocations: 0 / 480 MB, free: 3.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.1319, allocations: 51.98 kB / 480.1 MB, free: 3.078 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.001858/0.1338, allocations: 1.369 MB / 481.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.1342, allocations: 171.7 kB / 481.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1342, allocations: 0 / 481.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1343, allocations: 83.84 kB / 481.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.1349, allocations: 58.34 kB / 481.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.1385, allocations: 2.964 MB / 484.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1389, allocations: 0.7792 MB / 485.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.139, allocations: 33.94 kB / 485.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.1392, allocations: 107.4 kB / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1392, allocations: 0 / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1634, allocations: 6.385 MB / 492 MB, free: 7.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.601, allocations: 6.734 kB / 492 MB, free: 7.258 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches