Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.000999/0.0009991, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001141/0.001141, allocations: 196.4 kB / 16.91 MB, free: 6.195 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.722/1.722, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3856/0.3856, allocations: 43.49 MB / 313.6 MB, free: 8.492 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.00151/0.00151, allocations: 63.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1264, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003747/0.1301, allocations: 1.757 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1316, allocations: 0.7885 MB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1317, allocations: 7.938 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1321, allocations: 39.83 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1323, allocations: 43.83 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1326, allocations: 79.84 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1328, allocations: 95.7 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.1329, allocations: 16.2 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.133, allocations: 47.78 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.1331, allocations: 23.86 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1331, allocations: 4 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1333, allocations: 43.98 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1333, allocations: 27.84 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.1334, allocations: 35.73 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1336, allocations: 111.9 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1336, allocations: 8 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1336, allocations: 0 / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.1336, allocations: 4 kB / 443.2 MB, free: 11.48 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.0005179/0.1342, allocations: 406.9 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1342, allocations: 19.88 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1343, allocations: 34.75 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1343, allocations: 8.844 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1346, allocations: 216.6 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1346, allocations: 4.375 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1346, allocations: 7.938 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1348, allocations: 57.67 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1348, allocations: 0 / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1348, allocations: 0 / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1348, allocations: 0 / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1349, allocations: 19.98 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1354, allocations: 284.8 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1356, allocations: 62.67 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1356, allocations: 16.86 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1357, allocations: 4 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.1359, allocations: 63.39 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.1359, allocations: 0 / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000579/0.1365, allocations: 173.1 kB / 444.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1366, allocations: 59.41 kB / 444.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1367, allocations: 203.2 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1368, allocations: 25.7 kB / 444.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1368, allocations: 112 kB / 445 MB, free: 9.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1369, allocations: 23.73 kB / 445 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1369, allocations: 17.72 kB / 445 MB, free: 9.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.137, allocations: 322.8 kB / 445.3 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.1371, allocations: 28.3 kB / 445.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1372, allocations: 41.64 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1373, allocations: 57.7 kB / 445.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1373, allocations: 4 kB / 445.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.1375, allocations: 109.5 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1375, allocations: 8 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1375, allocations: 0 / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1376, allocations: 8.016 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1377, allocations: 19.92 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1377, allocations: 4 kB / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1377, allocations: 3.938 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1378, allocations: 8 kB / 445.6 MB, free: 8.855 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.569e-05/0.1379, allocations: 121.8 kB / 445.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1379, allocations: 15.81 kB / 445.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.1379, allocations: 13.41 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.138, allocations: 0 / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.138, allocations: 4 kB / 445.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.138, allocations: 11.92 kB / 445.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1384, allocations: 387.3 kB / 446.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1385, allocations: 0 / 446.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.1385, allocations: 8 kB / 446.2 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1385, allocations: 7.938 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1385, allocations: 4 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1385, allocations: 0 / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1385, allocations: 4.031 kB / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1388, allocations: 204.2 kB / 446.4 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.1389, allocations: 84.92 kB / 446.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1389, allocations: 11.94 kB / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.139, allocations: 0 / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.139, allocations: 7.984 kB / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.139, allocations: 8 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1392, allocations: 156.9 kB / 446.6 MB, free: 7.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1392, allocations: 0 / 446.6 MB, free: 7.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1394, allocations: 24 kB / 446.7 MB, free: 7.695 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.001493/0.1409, allocations: 1.115 MB / 447.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1412, allocations: 63.91 kB / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1412, allocations: 0 / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.1412, allocations: 35.98 kB / 447.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1416, allocations: 27.83 kB / 447.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1435, allocations: 1.678 MB / 449.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1438, allocations: 0.708 MB / 450.3 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.1438, allocations: 12.88 kB / 450.3 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.1439, allocations: 39.42 kB / 450.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1439, allocations: 0 / 450.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1575, allocations: 3.255 MB / 453.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.1578, allocations: 234.7 kB / 453.8 MB, free: 392 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.871, allocations: 4 kB / 453.8 MB, free: 388 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches