Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001454/0.001454, allocations: 99.03 kB / 16.27 MB, free: 5.93 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.00129/0.00129, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.731/1.731, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2262/0.2262, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.0031/0.0031, allocations: 72.62 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1408, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002989/0.1439, allocations: 1.689 MB / 442.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1449, allocations: 0.8039 MB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.145, allocations: 4 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1453, allocations: 43.77 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1455, allocations: 63.73 kB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.1457, allocations: 87.77 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1458, allocations: 95.69 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.1459, allocations: 12.17 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.146, allocations: 39.8 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.1461, allocations: 35.77 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1461, allocations: 4 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.1462, allocations: 36 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.1462, allocations: 27.91 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.1463, allocations: 43.69 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1465, allocations: 131.6 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1465, allocations: 0 / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1465, allocations: 0 / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1465, allocations: 4 kB / 443.7 MB, free: 3.641 MB / 318.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.0004183/0.1469, allocations: 438.6 kB / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.147, allocations: 15.83 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.147, allocations: 34.75 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.147, allocations: 16.75 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1472, allocations: 219.5 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1472, allocations: 4.375 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1472, allocations: 3.938 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1474, allocations: 53.67 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.1474, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1474, allocations: 3.984 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1474, allocations: 4 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.1475, allocations: 27.92 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.1478, allocations: 304.8 kB / 444.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1479, allocations: 58.67 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.148, allocations: 16.86 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.148, allocations: 0 / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1482, allocations: 79.31 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1482, allocations: 0 / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004507/0.1486, allocations: 173.1 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.1487, allocations: 59.41 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1488, allocations: 259.7 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.1488, allocations: 25.7 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.1489, allocations: 116 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1489, allocations: 27.64 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.149, allocations: 21.72 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.149, allocations: 334.8 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1491, allocations: 16 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.1491, allocations: 37.7 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.1492, allocations: 65.69 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1493, allocations: 3.938 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001479/0.1494, allocations: 101.6 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1494, allocations: 7.984 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1494, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1495, allocations: 7.938 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.1495, allocations: 12 kB / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1495, allocations: 0 / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.1496, allocations: 11.84 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1496, allocations: 11.98 kB / 446.3 MB, free: 0.8672 MB / 318.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 7.026e-05/0.1497, allocations: 137.3 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.1497, allocations: 11.91 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1498, allocations: 21.41 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1498, allocations: 0 / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1498, allocations: 0 / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1498, allocations: 7.922 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.1501, allocations: 399.2 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1501, allocations: 4.406 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.1501, allocations: 19.92 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1502, allocations: 3.938 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1502, allocations: 8.188 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1502, allocations: 0 / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1502, allocations: 7.938 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1504, allocations: 196.3 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1505, allocations: 89.02 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1505, allocations: 7.938 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.1506, allocations: 7.984 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1506, allocations: 4 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1506, allocations: 4 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1508, allocations: 199.3 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.714e-06/0.1508, allocations: 0 / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.151, allocations: 31.94 kB / 447.4 MB, free: 15.62 MB / 334.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.001399/0.1525, allocations: 1.104 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1526, allocations: 59.92 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1527, allocations: 0 / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.1527, allocations: 31.92 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1531, allocations: 30.02 kB / 448.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1551, allocations: 1.795 MB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1555, allocations: 0.7312 MB / 451.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.1555, allocations: 8.891 kB / 451.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.1556, allocations: 47.34 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1556, allocations: 0 / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.1767, allocations: 3.631 MB / 454.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.349, allocations: 8 kB / 454.8 MB, free: 8.121 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches