Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.005128/0.005128, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001274/0.001274, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.465/1.465, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3594/0.3594, allocations: 43.5 MB / 313.5 MB, free: 8.316 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.001373/0.001373, allocations: 67.91 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003289/0.1278, allocations: 1.76 MB / 441.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.129, allocations: 0.7923 MB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.1291, allocations: 0 / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.1295, allocations: 55.81 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1296, allocations: 47.81 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1299, allocations: 79.84 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.13, allocations: 87.77 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.1301, allocations: 16.2 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.1302, allocations: 39.8 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.1303, allocations: 43.77 kB / 442.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1303, allocations: 3.938 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.1304, allocations: 36 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.1305, allocations: 27.89 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.1305, allocations: 31.75 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1307, allocations: 115.9 kB / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1307, allocations: 0 / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1307, allocations: 0 / 443 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1307, allocations: 0 / 443 MB, free: 11.37 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.0005062/0.1313, allocations: 434.8 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1313, allocations: 8.031 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1313, allocations: 42.67 kB / 443.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1314, allocations: 8.844 kB / 443.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1316, allocations: 219.9 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1316, allocations: 4.375 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1317, allocations: 11.92 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1319, allocations: 53.67 kB / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1319, allocations: 0 / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1319, allocations: 7.938 kB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1319, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.132, allocations: 23.92 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1324, allocations: 284.9 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1326, allocations: 58.67 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.1326, allocations: 20.86 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1327, allocations: 0 / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1329, allocations: 75.31 kB / 444.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1329, allocations: 0 / 444.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.1334, allocations: 169.1 kB / 444.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1335, allocations: 55.41 kB / 444.5 MB, free: 9.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1337, allocations: 230.6 kB / 444.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1337, allocations: 29.64 kB / 444.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1338, allocations: 104.1 kB / 444.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1338, allocations: 27.64 kB / 444.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1338, allocations: 25.72 kB / 444.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.134, allocations: 322.8 kB / 445.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.134, allocations: 23.98 kB / 445.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.1341, allocations: 33.7 kB / 445.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1342, allocations: 70 kB / 445.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1342, allocations: 0 / 445.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1344, allocations: 97.5 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1344, allocations: 8 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1344, allocations: 4 kB / 445.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1344, allocations: 0 / 445.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.1345, allocations: 19.92 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1346, allocations: 8.031 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1346, allocations: 3.938 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1346, allocations: 4 kB / 445.5 MB, free: 8.684 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.501e-05/0.1347, allocations: 129.8 kB / 445.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1347, allocations: 7.906 kB / 445.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.1348, allocations: 21.39 kB / 445.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1348, allocations: 0 / 445.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1348, allocations: 0 / 445.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1348, allocations: 7.938 kB / 445.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.1352, allocations: 403.4 kB / 446 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1352, allocations: 192 / 446 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1353, allocations: 15.98 kB / 446.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1353, allocations: 11.81 kB / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1353, allocations: 4 kB / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1353, allocations: 0 / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1353, allocations: 0 / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1355, allocations: 200.3 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.1356, allocations: 88.92 kB / 446.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1356, allocations: 3.938 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1357, allocations: 7.984 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1357, allocations: 4 kB / 446.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1357, allocations: 8 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.1359, allocations: 180.2 kB / 446.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1359, allocations: 0 / 446.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1361, allocations: 16 kB / 446.6 MB, free: 7.492 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.001409/0.1376, allocations: 1.113 MB / 447.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.1377, allocations: 51.92 kB / 447.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1377, allocations: 0 / 447.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.1378, allocations: 35.92 kB / 447.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1382, allocations: 36.03 kB / 447.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.1398, allocations: 1.733 MB / 449.5 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1401, allocations: 0.7121 MB / 450.2 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.1402, allocations: 16.88 kB / 450.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.1402, allocations: 35.42 kB / 450.3 MB, free: 3.664 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1402, allocations: 0 / 450.3 MB, free: 3.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.1535, allocations: 3.282 MB / 453.6 MB, free: 364 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.1538, allocations: 234.5 kB / 453.8 MB, free: 104 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.832, allocations: 0 / 453.8 MB, free: 104 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches