Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001343/0.001343, allocations: 114.4 kB / 17.33 MB, free: 5.617 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.001293/0.001294, allocations: 191.6 kB / 18.25 MB, free: 4.961 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.422/1.422, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2205/0.2205, allocations: 44.18 MB / 336.3 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 77.03 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.121, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004467/0.1255, allocations: 1.765 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1279, allocations: 1.44 MB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.128, allocations: 8 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.1284, allocations: 39.83 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1288, allocations: 43.84 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.1292, allocations: 95.77 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1294, allocations: 99.62 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.1295, allocations: 16.22 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.1296, allocations: 39.8 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1298, allocations: 43.83 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1298, allocations: 4 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1299, allocations: 59.97 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.13, allocations: 19.86 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.1301, allocations: 35.8 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1303, allocations: 120 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1303, allocations: 3.938 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1303, allocations: 0 / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1304, allocations: 0 / 472.7 MB, free: 10.76 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.0005654/0.1309, allocations: 399.2 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.131, allocations: 16.03 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.131, allocations: 34.75 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1311, allocations: 8.844 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1313, allocations: 204 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1314, allocations: 8.375 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1314, allocations: 3.938 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1316, allocations: 67.39 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1316, allocations: 0 / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1316, allocations: 7.984 kB / 473.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1316, allocations: 4 kB / 473.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.1317, allocations: 19.98 kB / 473.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1321, allocations: 284.8 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1322, allocations: 54.69 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.1323, allocations: 28.78 kB / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1323, allocations: 0 / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1325, allocations: 71.33 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1325, allocations: 0 / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.1331, allocations: 169.2 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1332, allocations: 85.05 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1333, allocations: 160.2 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1333, allocations: 25.7 kB / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.1334, allocations: 96.12 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1334, allocations: 27.64 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1335, allocations: 17.72 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1336, allocations: 326.8 kB / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.1336, allocations: 19.98 kB / 474.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.1337, allocations: 46.5 kB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1338, allocations: 61.66 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1339, allocations: 0 / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.134, allocations: 97.56 kB / 475 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1341, allocations: 8 kB / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1341, allocations: 0 / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1341, allocations: 0 / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1342, allocations: 24 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1342, allocations: 7.984 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.1343, allocations: 3.938 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1343, allocations: 4 kB / 475 MB, free: 8.16 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 9.24e-05/0.1344, allocations: 113.8 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1344, allocations: 15.89 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.1345, allocations: 12.7 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1345, allocations: 4 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1345, allocations: 0 / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1345, allocations: 7.938 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.1349, allocations: 383.3 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1349, allocations: 384 / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.135, allocations: 11.98 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.135, allocations: 7.938 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.135, allocations: 4 kB / 475.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.135, allocations: 4.172 kB / 475.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.135, allocations: 3.938 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1352, allocations: 212.2 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1353, allocations: 85.02 kB / 475.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1353, allocations: 11.92 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1354, allocations: 4 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1355, allocations: 0 / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1355, allocations: 7.984 kB / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.988e-05/0.1356, allocations: 119.3 kB / 476 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1356, allocations: 0 / 476 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1359, allocations: 31.98 kB / 476 MB, free: 7.031 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.001475/0.1373, allocations: 1.132 MB / 477.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1375, allocations: 63.92 kB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1375, allocations: 0 / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.1376, allocations: 28.08 kB / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.138, allocations: 39.34 kB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1397, allocations: 1.56 MB / 478.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1399, allocations: 0.6924 MB / 479.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.368e-05/0.14, allocations: 28.86 kB / 479.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.1401, allocations: 27.42 kB / 479.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1401, allocations: 0 / 479.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.1551, allocations: 3.385 MB / 483 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.1553, allocations: 239.1 kB / 483.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.02, allocations: 4 kB / 483.2 MB, free: 15.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches