Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.001281/0.00128, 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.001456/0.001456, allocations: 202.8 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.409/1.409, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.388/0.388, allocations: 43.49 MB / 313.5 MB, free: 8.547 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.001375/0.001375, allocations: 59.91 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003661/0.1369, allocations: 1.718 MB / 441.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1382, allocations: 0.7807 MB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.1383, allocations: 0 / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1386, allocations: 47.86 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1387, allocations: 55.81 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.139, allocations: 79.84 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1391, allocations: 83.7 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1392, allocations: 7.984 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1393, allocations: 51.7 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.1394, allocations: 31.86 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1394, allocations: 0 / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.1395, allocations: 31.98 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1395, allocations: 23.91 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1396, allocations: 43.61 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1398, allocations: 111.9 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1398, allocations: 3.938 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1398, allocations: 0 / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1398, allocations: 0 / 443 MB, free: 11.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000546/0.1404, allocations: 430.7 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1404, allocations: 16.03 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.1404, allocations: 30.75 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1405, allocations: 16.84 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1407, allocations: 215.7 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1408, allocations: 384 / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1408, allocations: 7.938 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1409, allocations: 49.61 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-06/0.1409, allocations: 3.938 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.141, allocations: 4 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-06/0.141, allocations: 4 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.672e-05/0.141, allocations: 8 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1413, allocations: 193.7 kB / 443.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1414, allocations: 54.55 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.1415, allocations: 20.8 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1415, allocations: 0 / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.1417, allocations: 71.3 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.1418, allocations: 0 / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002844/0.142, allocations: 97.56 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1421, allocations: 59.28 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1423, allocations: 254.8 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1424, allocations: 29.7 kB / 444.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.1425, allocations: 116.1 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1425, allocations: 11.81 kB / 444.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1425, allocations: 17.72 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1427, allocations: 326.8 kB / 445 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.1427, allocations: 16.23 kB / 445 MB, free: 9.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.1428, allocations: 29.7 kB / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1429, allocations: 45.72 kB / 445.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1429, allocations: 3.938 kB / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001693/0.1431, allocations: 89.42 kB / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1431, allocations: 4 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1431, allocations: 4 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1431, allocations: 3.984 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.1432, allocations: 8 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1432, allocations: 4.141 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1433, allocations: 11.92 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1433, allocations: 11.97 kB / 445.2 MB, free: 9.195 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 (7): * Single equations (assignments): 7 * 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.0001107/0.1434, allocations: 137.7 kB / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1434, allocations: 15.81 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1435, allocations: 13 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1435, allocations: 4 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1435, allocations: 0 / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1435, allocations: 3.984 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1437, allocations: 193.6 kB / 445.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1437, allocations: 0 / 445.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.1437, allocations: 11.98 kB / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1438, allocations: 0 / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1438, allocations: 0 / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1438, allocations: 4 kB / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1438, allocations: 3.938 kB / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.144, allocations: 120.9 kB / 445.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.1441, allocations: 85.02 kB / 445.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1441, allocations: 0 / 445.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.85e-05/0.1441, allocations: 8 kB / 445.8 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.1442, allocations: 7.922 kB / 445.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1442, allocations: 4 kB / 445.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1444, allocations: 204 kB / 446 MB, free: 8.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 446 MB, free: 8.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1446, allocations: 16 kB / 446 MB, free: 8.281 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001276/0.1459, allocations: 0.9545 MB / 447 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1461, allocations: 39.92 kB / 447 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1461, allocations: 0 / 447 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.1462, allocations: 16 kB / 447 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1464, allocations: 43.64 kB / 447.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1481, allocations: 1.679 MB / 448.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1484, allocations: 0.7121 MB / 449.5 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.1485, allocations: 12.55 kB / 449.5 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.1485, allocations: 39.42 kB / 449.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1485, allocations: 0 / 449.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1624, allocations: 3.161 MB / 452.7 MB, free: 1.504 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1626, allocations: 234.4 kB / 452.9 MB, free: 1.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.894, allocations: 3.938 kB / 452.9 MB, free: 1.246 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches