Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.000946/0.0009461, allocations: 96.94 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009183/0.0009184, allocations: 184.2 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3645/0.3645, allocations: 43.58 MB / 315 MB, free: 8.855 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 58.85 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002136/0.1261, allocations: 1.39 MB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1276, allocations: 0.7574 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.1277, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1281, allocations: 55.86 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1283, allocations: 43.83 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1286, allocations: 83.83 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1288, allocations: 91.7 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.1289, allocations: 7.984 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.129, allocations: 51.7 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1292, allocations: 23.86 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1292, allocations: 0 / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1293, allocations: 31.98 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.1294, allocations: 27.91 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.1295, allocations: 65.33 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1297, allocations: 111.9 kB / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1297, allocations: 3.938 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1298, allocations: 0 / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1298, allocations: 0 / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006499/0.1304, allocations: 414.9 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1305, allocations: 12.03 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.1305, allocations: 34.75 kB / 446.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.1306, allocations: 12.75 kB / 446.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1308, allocations: 215.8 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1308, allocations: 384 / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1309, allocations: 7.875 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.131, allocations: 53.67 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1311, allocations: 4 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1311, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1311, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.1312, allocations: 15.98 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.1314, allocations: 189.7 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1316, allocations: 62.48 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.1316, allocations: 24.84 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1317, allocations: 0 / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1319, allocations: 67.38 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1319, allocations: 0 / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003102/0.1322, allocations: 97.48 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1323, allocations: 63.28 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1326, allocations: 255.7 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1326, allocations: 29.7 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.1327, allocations: 116.1 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1327, allocations: 7.906 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1327, allocations: 13.72 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1329, allocations: 322.8 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.133, allocations: 15.98 kB / 448.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.133, allocations: 33.7 kB / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.1331, allocations: 41.72 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1331, allocations: 3.938 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001679/0.1333, allocations: 89.42 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1333, allocations: 4 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1333, allocations: 4 kB / 448.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1334, allocations: 0 / 448.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.1335, allocations: 8 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1335, allocations: 8.078 kB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.1335, allocations: 19.86 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1335, allocations: 4 kB / 448.5 MB, free: 7.359 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001266/0.1337, allocations: 133.8 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1337, allocations: 11.91 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.1338, allocations: 17 kB / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1338, allocations: 0 / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1338, allocations: 0 / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1338, allocations: 3.984 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.134, allocations: 193.6 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.134, allocations: 4 kB / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.134, allocations: 7.984 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.134, allocations: 0 / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.134, allocations: 320 / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1341, allocations: 8 kB / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1341, allocations: 0 / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.1343, allocations: 112.8 kB / 449 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.1343, allocations: 92.92 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1344, allocations: 4 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.1344, allocations: 7.984 kB / 449.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1345, allocations: 7.938 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1345, allocations: 0 / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1347, allocations: 203 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1347, allocations: 0 / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1349, allocations: 19.98 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001509/0.1365, allocations: 0.9576 MB / 450.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.1366, allocations: 35.98 kB / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1366, allocations: 0 / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.1367, allocations: 19.98 kB / 450.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.137, allocations: 23.98 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1389, allocations: 1.68 MB / 452 MB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1392, allocations: 0.7121 MB / 452.7 MB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.1393, allocations: 20.47 kB / 452.7 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.1394, allocations: 43.42 kB / 452.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1394, allocations: 3.938 kB / 452.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2369/0.3763, allocations: 2.955 MB / 455.7 MB, free: 44.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.3765, allocations: 241.8 kB / 456 MB, free: 44.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.199, allocations: 3.406 kB / 456 MB, free: 44.61 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches