Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001333/0.001333, 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.001714/0.001715, allocations: 206.3 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 5.008 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.3481/0.3481, allocations: 43.49 MB / 313.5 MB, free: 8.293 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.001345/0.001345, allocations: 63.91 kB / 382.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.126, allocations: 57.78 MB / 439.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003675/0.1298, allocations: 2.073 MB / 442 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1313, allocations: 0.8702 MB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.1314, allocations: 7.938 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1317, allocations: 39.83 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1319, allocations: 55.69 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1322, allocations: 115.8 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1325, allocations: 179.5 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1326, allocations: 41.86 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1328, allocations: 75.58 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1329, allocations: 67.69 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1329, allocations: 11.98 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1331, allocations: 39.98 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1331, allocations: 39.78 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.1332, allocations: 67.58 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1335, allocations: 179.4 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1335, allocations: 0 / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1335, allocations: 0 / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1335, allocations: 3.938 kB / 443.8 MB, free: 10.94 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001009/0.1345, allocations: 0.5604 MB / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1346, allocations: 16.02 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.1346, allocations: 34.75 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.1347, allocations: 20.75 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.135, allocations: 248.7 kB / 444.6 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.135, allocations: 4.375 kB / 444.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1351, allocations: 11.94 kB / 444.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.1355, allocations: 156.1 kB / 444.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1355, allocations: 0 / 444.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1355, allocations: 0 / 444.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1355, allocations: 7.984 kB / 444.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.136, allocations: 119.8 kB / 444.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1366, allocations: 0.536 MB / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.1373, allocations: 170.5 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.1375, allocations: 76.73 kB / 445.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1376, allocations: 4 kB / 445.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.138, allocations: 131.3 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.216e-06/0.138, allocations: 0 / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008497/0.1389, allocations: 257.2 kB / 446.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1389, allocations: 59.34 kB / 446.2 MB, free: 8.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.1391, allocations: 227.1 kB / 446.4 MB, free: 8.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1392, allocations: 33.7 kB / 446.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.1393, allocations: 124.4 kB / 446.5 MB, free: 7.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.1393, allocations: 27.61 kB / 446.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.1394, allocations: 41.7 kB / 446.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1395, allocations: 330.8 kB / 446.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.1398, allocations: 71.88 kB / 447 MB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.14, allocations: 108.1 kB / 447.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.1405, allocations: 197.8 kB / 447.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1405, allocations: 0 / 447.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006073/0.1412, allocations: 251 kB / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.1412, allocations: 29.7 kB / 447.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1412, allocations: 8.125 kB / 447.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1412, allocations: 3.938 kB / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1414, allocations: 43.91 kB / 447.6 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1414, allocations: 0 / 447.6 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1416, allocations: 31.81 kB / 447.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1417, allocations: 8 kB / 447.7 MB, free: 6.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001249/0.1418, allocations: 142.5 kB / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1418, allocations: 23.75 kB / 447.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.1419, allocations: 21.39 kB / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1419, allocations: 7.938 kB / 447.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1419, allocations: 0 / 447.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1419, allocations: 0 / 447.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1421, allocations: 233.5 kB / 448.1 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1421, allocations: 4 kB / 448.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1423, allocations: 19.98 kB / 448.1 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1423, allocations: 0 / 448.1 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1423, allocations: 3.984 kB / 448.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1423, allocations: 7.938 kB / 448.1 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1423, allocations: 3.938 kB / 448.1 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.1432, allocations: 317 kB / 448.4 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.1432, allocations: 88.95 kB / 448.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1433, allocations: 0 / 448.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1434, allocations: 27.91 kB / 448.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.1435, allocations: 19.97 kB / 448.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1435, allocations: 4 kB / 448.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1437, allocations: 168.6 kB / 448.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 0 / 448.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1439, allocations: 32 kB / 448.8 MB, free: 5.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001905/0.1459, allocations: 1.163 MB / 449.9 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.1465, allocations: 215.2 kB / 450.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1465, allocations: 4 kB / 450.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.1468, allocations: 80.12 kB / 450.2 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1471, allocations: 51.7 kB / 450.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.1504, allocations: 2.184 MB / 452.4 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1507, allocations: 0.7244 MB / 453.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1508, allocations: 21.55 kB / 453.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1509, allocations: 55.41 kB / 453.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1509, allocations: 0 / 453.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2035/0.3544, allocations: 4.509 MB / 457.8 MB, free: 48.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.3546, allocations: 235.3 kB / 458 MB, free: 48.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.026, allocations: 1.531 kB / 458 MB, free: 48.03 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches