Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001026/0.001025, allocations: 101.9 kB / 16.02 MB, free: 72 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.001033/0.001033, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.467/1.467, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.3695/0.3695, allocations: 43.58 MB / 315 MB, free: 8.715 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.0006219/0.0006217, allocations: 16 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1232, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002013/0.1252, allocations: 1.414 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1273, allocations: 1.352 MB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.1274, allocations: 3.938 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1276, allocations: 39.89 kB / 446.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1278, allocations: 47.83 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1281, allocations: 79.84 kB / 446.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1283, allocations: 95.69 kB / 446.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.1284, allocations: 16.22 kB / 446.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.1285, allocations: 43.72 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1286, allocations: 39.83 kB / 446.7 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1286, allocations: 0 / 446.7 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1288, allocations: 63.97 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.1288, allocations: 19.91 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.1289, allocations: 57.45 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1291, allocations: 127.9 kB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.1292, allocations: 0 / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1292, allocations: 0 / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1292, allocations: 0 / 446.9 MB, free: 9.145 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005147/0.1297, allocations: 403.1 kB / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1298, allocations: 11.97 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1298, allocations: 38.75 kB / 447.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1298, allocations: 8.844 kB / 447.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1301, allocations: 212.5 kB / 447.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1301, allocations: 4 kB / 447.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1301, allocations: 7.984 kB / 447.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1303, allocations: 71.33 kB / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1303, allocations: 0 / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1303, allocations: 0 / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1304, allocations: 8 kB / 447.7 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.1305, allocations: 27.97 kB / 447.7 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1308, allocations: 296.7 kB / 448 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.131, allocations: 70.61 kB / 448.1 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.1311, allocations: 32.84 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1311, allocations: 8 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1313, allocations: 71.38 kB / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1313, allocations: 0 / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005222/0.1318, allocations: 189.3 kB / 448.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.1319, allocations: 84.98 kB / 448.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1321, allocations: 158.4 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1321, allocations: 29.7 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.1322, allocations: 100.1 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1322, allocations: 31.55 kB / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1322, allocations: 17.72 kB / 448.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1324, allocations: 326.8 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.1324, allocations: 23.98 kB / 449.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.1325, allocations: 42.56 kB / 449.2 MB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1326, allocations: 81.66 kB / 449.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1327, allocations: 96 / 449.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.1329, allocations: 113.5 kB / 449.4 MB, free: 6.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1329, allocations: 4 kB / 449.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1329, allocations: 7.922 kB / 449.4 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1329, allocations: 4 kB / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.133, allocations: 19.98 kB / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.133, allocations: 4.469 kB / 449.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.1331, allocations: 4.031 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1331, allocations: 4 kB / 449.4 MB, free: 6.414 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 (11): * Single equations (assignments): 11 * 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.0001168/0.1332, allocations: 129.8 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1333, allocations: 7.906 kB / 449.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.1333, allocations: 16.66 kB / 449.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1333, allocations: 4 kB / 449.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1333, allocations: 0 / 449.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1333, allocations: 0 / 449.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1338, allocations: 419.1 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1338, allocations: 7.938 kB / 450 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.1339, allocations: 8 kB / 450 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1339, allocations: 0 / 450 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1339, allocations: 8 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1339, allocations: 0 / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1339, allocations: 0 / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1342, allocations: 228.2 kB / 450.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1342, allocations: 85.02 kB / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1343, allocations: 7.984 kB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1344, allocations: 4 kB / 450.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.1344, allocations: 7.984 kB / 450.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1344, allocations: 4 kB / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.1345, allocations: 127.9 kB / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1345, allocations: 4 kB / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1348, allocations: 28 kB / 450.5 MB, free: 5.238 MB / 382.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 (9): * Single equations (assignments): 7 * 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.001502/0.1363, allocations: 1.155 MB / 451.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1365, allocations: 71.91 kB / 451.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1365, allocations: 4.062 kB / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.1366, allocations: 35.92 kB / 451.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1369, allocations: 27.98 kB / 451.8 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1386, allocations: 1.625 MB / 453.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1389, allocations: 0.7004 MB / 454.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.791e-05/0.139, allocations: 24.62 kB / 454.1 MB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1391, allocations: 35.42 kB / 454.2 MB, free: 1.457 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1391, allocations: 0 / 454.2 MB, free: 1.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2087/0.3478, allocations: 3.227 MB / 457.4 MB, free: 45.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.348, allocations: 230.4 kB / 457.6 MB, free: 45.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.236, allocations: 2.875 kB / 457.6 MB, free: 45.15 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches