Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001249/0.001249, allocations: 103.2 kB / 17.32 MB, free: 6.027 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.001435/0.001435, allocations: 193.3 kB / 18.25 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.9 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 44.18 MB / 336.3 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 69.02 kB / 408 MB, free: 27.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 60.83 MB / 468.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004994/0.1411, allocations: 1.846 MB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.1446, allocations: 1.526 MB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.1448, allocations: 4 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1453, allocations: 43.83 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.1458, allocations: 79.67 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.1464, allocations: 150.2 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1468, allocations: 179.5 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.686e-05/0.1469, allocations: 9.562 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1471, allocations: 91.56 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.1475, allocations: 75.62 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.1475, allocations: 8 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.1478, allocations: 67.95 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.1478, allocations: 23.92 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.148, allocations: 67.53 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.1484, allocations: 163.8 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1484, allocations: 4 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1484, allocations: 0 / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1484, allocations: 0 / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009582/0.1494, allocations: 474.6 kB / 473.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1495, allocations: 8.031 kB / 473.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.1495, allocations: 34.69 kB / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.1496, allocations: 16.83 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1501, allocations: 243.9 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1501, allocations: 4.375 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1502, allocations: 7.938 kB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1505, allocations: 109 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1505, allocations: 0 / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1505, allocations: 0 / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1505, allocations: 0 / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1507, allocations: 27.98 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.151, allocations: 218.5 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.1515, allocations: 113.1 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1516, allocations: 37.7 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1517, allocations: 0 / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.1521, allocations: 117 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.504e-06/0.1521, allocations: 0 / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006864/0.1528, allocations: 165.4 kB / 474.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1529, allocations: 132.5 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.1533, allocations: 215.8 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.1533, allocations: 33.64 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.1534, allocations: 108.1 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.1535, allocations: 35.55 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.1536, allocations: 29.72 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1538, allocations: 326.8 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.154, allocations: 27.98 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1541, allocations: 69.14 kB / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1544, allocations: 91.34 kB / 475.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1544, allocations: 3.938 kB / 475.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004374/0.1549, allocations: 138 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1549, allocations: 4 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1549, allocations: 0 / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.155, allocations: 4 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.1551, allocations: 28.05 kB / 475.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1552, allocations: 4 kB / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1553, allocations: 4 kB / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1553, allocations: 4 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001589/0.1555, allocations: 138.2 kB / 476.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.1556, allocations: 23.84 kB / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.1556, allocations: 20.98 kB / 476.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1557, allocations: 0 / 476.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1557, allocations: 4 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1557, allocations: 0 / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.156, allocations: 221.4 kB / 476.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.156, allocations: 3.984 kB / 476.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.156, allocations: 8 kB / 476.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1561, allocations: 0 / 476.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1561, allocations: 0 / 476.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1561, allocations: 8 kB / 476.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1561, allocations: 0 / 476.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.1566, allocations: 177.6 kB / 476.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.1567, allocations: 92.94 kB / 476.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.1567, allocations: 4 kB / 476.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1568, allocations: 3.984 kB / 476.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.1569, allocations: 16 kB / 476.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.157, allocations: 4 kB / 476.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.1572, allocations: 164.1 kB / 476.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1572, allocations: 0 / 476.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004734/0.1577, allocations: 39.98 kB / 476.8 MB, free: 6.133 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002294/0.16, allocations: 1.057 MB / 477.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.1604, allocations: 87.89 kB / 478 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1604, allocations: 4.125 kB / 478 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1606, allocations: 40.3 kB / 478 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1612, allocations: 57.08 kB / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.1643, allocations: 1.851 MB / 479.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1648, allocations: 0.7086 MB / 480.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.165, allocations: 37.5 kB / 480.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1651, allocations: 47.42 kB / 480.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1651, allocations: 0 / 480.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1833, allocations: 4.514 MB / 485.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.1835, allocations: 241.1 kB / 485.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.117, allocations: 0 / 485.5 MB, free: 13.62 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches