Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001094/0.001094, allocations: 96.14 kB / 15.87 MB, free: 16 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.001212/0.001212, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.546/1.546, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.3394/0.3394, allocations: 43.5 MB / 313.5 MB, free: 8.422 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.001299/0.001299, allocations: 75.02 kB / 382.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 57.78 MB / 439.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00288/0.1264, allocations: 1.749 MB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1276, allocations: 0.8001 MB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.1277, allocations: 0 / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1279, allocations: 43.88 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1281, allocations: 39.83 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1283, allocations: 75.86 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1285, allocations: 91.69 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.1285, allocations: 20.2 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.1286, allocations: 39.73 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.1287, allocations: 31.84 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1287, allocations: 4 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.1288, allocations: 39.98 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1289, allocations: 19.92 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.1289, allocations: 35.72 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1291, allocations: 123.8 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1291, allocations: 0 / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1291, allocations: 0 / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1291, allocations: 0 / 443 MB, free: 11.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004612/0.1296, allocations: 414.9 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1296, allocations: 8.031 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.1297, allocations: 34.75 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1297, allocations: 12.84 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1299, allocations: 204.7 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.13, allocations: 16.31 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.13, allocations: 3.938 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1301, allocations: 57.61 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1301, allocations: 0 / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1301, allocations: 4 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1302, allocations: 0 / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1302, allocations: 15.98 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1306, allocations: 284.9 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1307, allocations: 70.59 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.1308, allocations: 20.84 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1308, allocations: 0 / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.131, allocations: 75.38 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.131, allocations: 4 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004844/0.1315, allocations: 173.1 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1315, allocations: 51.41 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1317, allocations: 203.3 kB / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1317, allocations: 25.7 kB / 444.7 MB, free: 9.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.1318, allocations: 104 kB / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1318, allocations: 23.73 kB / 444.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1319, allocations: 21.72 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.132, allocations: 326.8 kB / 445.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.1321, allocations: 23.92 kB / 445.2 MB, free: 9.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.1321, allocations: 41.64 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1323, allocations: 53.7 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1323, allocations: 0 / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.1325, allocations: 109.4 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1325, allocations: 8.031 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1325, allocations: 0 / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1325, allocations: 4 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1326, allocations: 15.98 kB / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1326, allocations: 0 / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.1326, allocations: 7.938 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1327, allocations: 4 kB / 445.4 MB, free: 9.066 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 (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.717e-05/0.1328, allocations: 133.7 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1328, allocations: 15.81 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1328, allocations: 21.39 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1329, allocations: 192 / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1329, allocations: 0 / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1329, allocations: 7.875 kB / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.1333, allocations: 391.3 kB / 446 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1333, allocations: 0 / 446 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.1333, allocations: 8 kB / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1333, allocations: 7.969 kB / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1334, allocations: 11.98 kB / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1334, allocations: 384 / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1334, allocations: 0 / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1336, allocations: 200.5 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.1336, allocations: 88.92 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1337, allocations: 11.94 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.1337, allocations: 11.98 kB / 446.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1338, allocations: 4 kB / 446.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1338, allocations: 0 / 446.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1339, allocations: 156.9 kB / 446.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1339, allocations: 0 / 446.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1342, allocations: 27.98 kB / 446.5 MB, free: 7.887 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 (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.001364/0.1356, allocations: 1.094 MB / 447.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1357, allocations: 63.95 kB / 447.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1358, allocations: 0 / 447.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.1358, allocations: 27.94 kB / 447.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1362, allocations: 35.77 kB / 447.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1378, allocations: 1.696 MB / 449.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.138, allocations: 0.7004 MB / 450.1 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.1381, allocations: 21.17 kB / 450.1 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.1381, allocations: 39.42 kB / 450.1 MB, free: 4.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1382, allocations: 0 / 450.1 MB, free: 4.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.1511, allocations: 3.164 MB / 453.3 MB, free: 0.918 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.1514, allocations: 238.4 kB / 453.5 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.782, allocations: 4 kB / 453.5 MB, free: 0.6562 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches