Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.0009886/0.0009887, allocations: 96.94 kB / 16.02 MB, free: 84 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.001062/0.001062, allocations: 182.7 kB / 16.91 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.626/1.626, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.3648/0.3648, allocations: 43.58 MB / 315 MB, free: 9.035 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.0005277/0.0005277, allocations: 16 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002728/0.1209, allocations: 1.554 MB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1225, allocations: 0.8703 MB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1227, allocations: 4 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.1232, allocations: 151.6 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1235, allocations: 127.6 kB / 446.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.124, allocations: 127.7 kB / 446.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1243, allocations: 211.3 kB / 446.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1245, allocations: 25.53 kB / 446.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1247, allocations: 87.61 kB / 446.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1248, allocations: 119.6 kB / 446.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1249, allocations: 4 kB / 446.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.125, allocations: 47.91 kB / 446.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.1251, allocations: 43.84 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.1252, allocations: 93.17 kB / 447 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1254, allocations: 191.5 kB / 447.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1254, allocations: 0 / 447.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1254, allocations: 0 / 447.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1255, allocations: 0 / 447.2 MB, free: 9.141 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006076/0.1261, allocations: 498.2 kB / 447.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1261, allocations: 12.03 kB / 447.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1262, allocations: 34.75 kB / 447.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1262, allocations: 24.66 kB / 447.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1265, allocations: 263.6 kB / 448 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1265, allocations: 8.359 kB / 448 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1265, allocations: 11.94 kB / 448 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1268, allocations: 95.3 kB / 448.1 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1268, allocations: 0 / 448.1 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1268, allocations: 4 kB / 448.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1268, allocations: 3.984 kB / 448.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1269, allocations: 35.97 kB / 448.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1274, allocations: 460.7 kB / 448.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1277, allocations: 121.3 kB / 448.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.1278, allocations: 41.64 kB / 448.8 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1278, allocations: 0 / 448.8 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1281, allocations: 109.1 kB / 448.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.986e-06/0.1281, allocations: 4 kB / 448.9 MB, free: 7.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000811/0.1289, allocations: 352.1 kB / 449.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.129, allocations: 81.05 kB / 449.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.1293, allocations: 355 kB / 449.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1293, allocations: 25.7 kB / 449.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.1294, allocations: 144.4 kB / 449.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1295, allocations: 55.28 kB / 449.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1295, allocations: 25.7 kB / 449.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1296, allocations: 338.8 kB / 450.2 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.1297, allocations: 35.98 kB / 450.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1298, allocations: 71.41 kB / 450.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1301, allocations: 123.5 kB / 450.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1301, allocations: 0 / 450.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003122/0.1304, allocations: 181.2 kB / 450.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1304, allocations: 4 kB / 450.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1304, allocations: 0 / 450.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1305, allocations: 4 kB / 450.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1306, allocations: 35.86 kB / 450.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1306, allocations: 4 kB / 450.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.1307, allocations: 16.05 kB / 450.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1307, allocations: 4 kB / 450.7 MB, free: 5.344 MB / 382.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 (20): * Single equations (assignments): 20 * 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.0001372/0.1309, allocations: 161.7 kB / 450.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1309, allocations: 27.7 kB / 450.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.131, allocations: 29.73 kB / 450.9 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.131, allocations: 7.938 kB / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.131, allocations: 0 / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.131, allocations: 3.938 kB / 450.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.1317, allocations: 0.6132 MB / 451.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1317, allocations: 0 / 451.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.1318, allocations: 23.92 kB / 451.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1318, allocations: 0 / 451.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1318, allocations: 8 kB / 451.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1318, allocations: 4.062 kB / 451.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1318, allocations: 8 kB / 451.6 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.1322, allocations: 359.8 kB / 451.9 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.1322, allocations: 100.8 kB / 452 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.1323, allocations: 8 kB / 452 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1324, allocations: 19.92 kB / 452 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1325, allocations: 11.98 kB / 452.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1325, allocations: 8 kB / 452.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.1327, allocations: 261.9 kB / 452.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1327, allocations: 4 kB / 452.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1331, allocations: 36 kB / 452.4 MB, free: 3.559 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001652/0.1347, allocations: 1.269 MB / 453.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.135, allocations: 119.8 kB / 453.7 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.135, allocations: 0 / 453.7 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1352, allocations: 59.92 kB / 453.8 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.1357, allocations: 53.09 kB / 453.9 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1989/0.3347, allocations: 2.498 MB / 456.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3349, allocations: 0.7472 MB / 457.1 MB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.3351, allocations: 33.03 kB / 457.1 MB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3353, allocations: 72.38 kB / 457.2 MB, free: 43.94 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3353, allocations: 0.8125 kB / 457.2 MB, free: 43.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.3495, allocations: 4.872 MB / 462.1 MB, free: 43.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.3497, allocations: 234.8 kB / 462.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.06, allocations: 6.297 kB / 462.3 MB, free: 43.36 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches