Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001028/0.001028, 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.0009962/0.0009963, allocations: 203.5 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.992 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.3918/0.3918, allocations: 43.5 MB / 313.5 MB, free: 8.602 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.001512/0.001512, allocations: 78.55 kB / 382.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1357, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003209/0.139, allocations: 1.757 MB / 441.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1403, allocations: 0.7846 MB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.1404, allocations: 7.938 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1408, allocations: 75.81 kB / 442.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.141, allocations: 67.8 kB / 442.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1412, allocations: 75.84 kB / 442.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1414, allocations: 99.69 kB / 442.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1415, allocations: 24.19 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.1416, allocations: 51.72 kB / 442.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.1417, allocations: 55.81 kB / 442.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1417, allocations: 0 / 442.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.1418, allocations: 35.98 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.1419, allocations: 19.92 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.142, allocations: 39.72 kB / 443 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1422, allocations: 119.8 kB / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1422, allocations: 0 / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1422, allocations: 0 / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1422, allocations: 3.938 kB / 443.1 MB, free: 11.82 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.0005513/0.1428, allocations: 419 kB / 443.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1428, allocations: 8.031 kB / 443.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.1429, allocations: 38.75 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1429, allocations: 12.75 kB / 443.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1431, allocations: 208.8 kB / 443.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1432, allocations: 8.312 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1432, allocations: 7.938 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1433, allocations: 57.61 kB / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1434, allocations: 4 kB / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1434, allocations: 3.938 kB / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1434, allocations: 0 / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.1435, allocations: 19.98 kB / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.1438, allocations: 300.7 kB / 444.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.144, allocations: 58.61 kB / 444.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.1441, allocations: 28.84 kB / 444.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1441, allocations: 0 / 444.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1443, allocations: 63.39 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1443, allocations: 0 / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005493/0.1449, allocations: 173.2 kB / 444.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1449, allocations: 51.41 kB / 444.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1451, allocations: 218.3 kB / 444.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1451, allocations: 29.7 kB / 444.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.1452, allocations: 104.1 kB / 444.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1452, allocations: 27.64 kB / 444.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1453, allocations: 21.72 kB / 445 MB, free: 9.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1454, allocations: 322.8 kB / 445.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/0.1455, allocations: 19.98 kB / 445.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.1455, allocations: 45.64 kB / 445.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1456, allocations: 53.72 kB / 445.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1457, allocations: 0 / 445.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.1458, allocations: 109.4 kB / 445.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1459, allocations: 4 kB / 445.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1459, allocations: 0 / 445.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1459, allocations: 4 kB / 445.5 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.146, allocations: 20.02 kB / 445.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.146, allocations: 0 / 445.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.146, allocations: 11.94 kB / 445.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1461, allocations: 0 / 445.5 MB, free: 9.168 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 0.0001065/0.1462, allocations: 133.7 kB / 445.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1462, allocations: 11.91 kB / 445.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1463, allocations: 17.41 kB / 445.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1463, allocations: 192 / 445.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1463, allocations: 0 / 445.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1463, allocations: 15.86 kB / 445.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.1467, allocations: 395.2 kB / 446.1 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1467, allocations: 7.938 kB / 446.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.1468, allocations: 8.375 kB / 446.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1468, allocations: 3.938 kB / 446.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1468, allocations: 0 / 446.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1468, allocations: 4 kB / 446.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1468, allocations: 11.97 kB / 446.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.147, allocations: 200.3 kB / 446.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.1471, allocations: 88.92 kB / 446.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1471, allocations: 7.875 kB / 446.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.1472, allocations: 4 kB / 446.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.1472, allocations: 7.984 kB / 446.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1472, allocations: 4 kB / 446.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1474, allocations: 160.2 kB / 446.6 MB, free: 8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1474, allocations: 0 / 446.6 MB, free: 8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1476, allocations: 31.98 kB / 446.6 MB, free: 7.969 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.001476/0.1491, allocations: 1.094 MB / 447.7 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1493, allocations: 59.95 kB / 447.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1493, allocations: 0 / 447.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.1494, allocations: 32.06 kB / 447.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1497, allocations: 35.77 kB / 447.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1514, allocations: 1.711 MB / 449.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1517, allocations: 0.7047 MB / 450.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.1518, allocations: 20.78 kB / 450.3 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.1519, allocations: 39.42 kB / 450.3 MB, free: 4.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1519, allocations: 4 kB / 450.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.1912, allocations: 3.222 MB / 453.5 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.1915, allocations: 233.2 kB / 453.8 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.861, allocations: 0 / 453.8 MB, free: 0.6719 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches