Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.0007648/0.0007648, allocations: 95.78 kB / 17.35 MB, free: 6.371 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.0008488/0.0008489, allocations: 181.2 kB / 18.26 MB, free: 5.523 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.304/1.304, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1907/0.1907, allocations: 44.24 MB / 337.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00235/0.1162, allocations: 1.421 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1178, allocations: 0.8421 MB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.118, allocations: 4 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1183, allocations: 51.86 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1186, allocations: 59.75 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1189, allocations: 86.59 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1191, allocations: 103.7 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.1192, allocations: 4.234 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.1193, allocations: 39.78 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.1194, allocations: 39.78 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1194, allocations: 4 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1195, allocations: 39.98 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1196, allocations: 27.91 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.1197, allocations: 73.31 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1199, allocations: 127.8 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1199, allocations: 3.938 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1199, allocations: 0 / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1199, allocations: 3.938 kB / 475.3 MB, free: 10.27 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.0005615/0.1205, allocations: 422.9 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1205, allocations: 12.03 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1206, allocations: 34.75 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1206, allocations: 12.75 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1209, allocations: 221 kB / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1209, allocations: 384 / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1209, allocations: 7.938 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1211, allocations: 57.61 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1211, allocations: 4 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1211, allocations: 0 / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1211, allocations: 0 / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/0.1212, allocations: 27.92 kB / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.1216, allocations: 296.9 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1217, allocations: 58.62 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1218, allocations: 24.84 kB / 476.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1218, allocations: 7.984 kB / 476.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.122, allocations: 63.39 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.122, allocations: 0 / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005021/0.1225, allocations: 185 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1226, allocations: 55.41 kB / 476.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1228, allocations: 275.7 kB / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1228, allocations: 29.7 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1229, allocations: 116.1 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1229, allocations: 31.62 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.123, allocations: 13.72 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1231, allocations: 330.8 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.1231, allocations: 16 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.1232, allocations: 41.64 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1233, allocations: 61.7 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1234, allocations: 0 / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1235, allocations: 101.4 kB / 477.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1236, allocations: 4 kB / 477.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1236, allocations: 3.984 kB / 477.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1236, allocations: 4 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.1237, allocations: 12 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1237, allocations: 192 / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.1238, allocations: 11.97 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1238, allocations: 11.94 kB / 477.8 MB, free: 7.52 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.0001072/0.1239, allocations: 141.8 kB / 477.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.1239, allocations: 15.81 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.124, allocations: 13.41 kB / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.124, allocations: 4 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.124, allocations: 0 / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.124, allocations: 7.922 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.1244, allocations: 407.4 kB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1244, allocations: 0 / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1245, allocations: 11.98 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1245, allocations: 11.88 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1245, allocations: 384 / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1245, allocations: 0 / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1245, allocations: 4.078 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1247, allocations: 208.3 kB / 478.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.1248, allocations: 96.84 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1248, allocations: 3.938 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.1249, allocations: 8 kB / 478.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.125, allocations: 7.984 kB / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.125, allocations: 4 kB / 478.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1252, allocations: 201.5 kB / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1252, allocations: 0 / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1254, allocations: 31.98 kB / 478.9 MB, free: 6.262 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.001484/0.1269, allocations: 1.103 MB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1271, allocations: 55.91 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1271, allocations: 3.938 kB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.1272, allocations: 35.92 kB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1275, allocations: 23.98 kB / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1294, allocations: 1.849 MB / 482 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1296, allocations: 0.716 MB / 482.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.1297, allocations: 21.17 kB / 482.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.1298, allocations: 43.42 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1298, allocations: 0 / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.1437, allocations: 3.329 MB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.144, allocations: 233 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.888, allocations: 0 / 486.3 MB, free: 14.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches