Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.001117/0.001117, allocations: 108 kB / 15.98 MB, free: 6.348 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.00114/0.00114, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.717/1.717, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3913/0.3913, allocations: 43.5 MB / 313.6 MB, free: 8.309 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.0017/0.0017, allocations: 70.56 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004047/0.1506, allocations: 1.756 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1521, allocations: 0.7846 MB / 442.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1523, allocations: 4 kB / 442.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.1527, allocations: 35.83 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.153, allocations: 47.83 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1533, allocations: 75.86 kB / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1536, allocations: 99.73 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1537, allocations: 16.22 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1538, allocations: 43.73 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.1539, allocations: 35.72 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1539, allocations: 4 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1541, allocations: 43.98 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.1541, allocations: 15.98 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.1542, allocations: 39.72 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1545, allocations: 115.9 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1545, allocations: 4 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1545, allocations: 0 / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1545, allocations: 0 / 443.2 MB, free: 11.26 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.000676/0.1552, allocations: 403 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1553, allocations: 23.77 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1553, allocations: 38.73 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1554, allocations: 8.844 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1556, allocations: 208 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1557, allocations: 4.375 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1557, allocations: 11.94 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1559, allocations: 53.67 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1559, allocations: 0 / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1559, allocations: 0 / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1559, allocations: 0 / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.156, allocations: 23.92 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.1564, allocations: 284.8 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1566, allocations: 58.69 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1567, allocations: 20.84 kB / 444.3 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1567, allocations: 4 kB / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.157, allocations: 71.31 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.157, allocations: 0 / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005881/0.1576, allocations: 177.2 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1576, allocations: 51.41 kB / 444.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1578, allocations: 194.1 kB / 444.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1579, allocations: 25.7 kB / 444.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.1579, allocations: 100.1 kB / 444.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.158, allocations: 19.72 kB / 445 MB, free: 9.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.158, allocations: 29.7 kB / 445 MB, free: 9.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1581, allocations: 326.8 kB / 445.3 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.1582, allocations: 16 kB / 445.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.1583, allocations: 41.64 kB / 445.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1584, allocations: 61.7 kB / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1584, allocations: 0 / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.1586, allocations: 102 kB / 445.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1586, allocations: 8.031 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1586, allocations: 0 / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1587, allocations: 7.938 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1588, allocations: 19.98 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1588, allocations: 3.938 kB / 445.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.1589, allocations: 7.938 kB / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1589, allocations: 0 / 445.6 MB, free: 8.66 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.0001153/0.159, allocations: 130.7 kB / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.159, allocations: 11.81 kB / 445.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.1591, allocations: 20.7 kB / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1591, allocations: 0 / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1591, allocations: 0 / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1591, allocations: 7.938 kB / 445.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.1595, allocations: 387.3 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1596, allocations: 0 / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.1596, allocations: 11.94 kB / 446.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1596, allocations: 3.938 kB / 446.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1596, allocations: 12.02 kB / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1596, allocations: 0 / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1596, allocations: 0 / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1599, allocations: 196.3 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.1599, allocations: 85.02 kB / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.16, allocations: 3.938 kB / 446.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.16, allocations: 8 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1601, allocations: 11.98 kB / 446.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1601, allocations: 4 kB / 446.5 MB, free: 7.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1602, allocations: 143.2 kB / 446.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1602, allocations: 0 / 446.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1605, allocations: 31.84 kB / 446.6 MB, free: 7.512 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.001593/0.1621, allocations: 1.113 MB / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1623, allocations: 63.91 kB / 447.8 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1623, allocations: 0 / 447.8 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.1624, allocations: 31.92 kB / 447.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1628, allocations: 39.83 kB / 447.9 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.165, allocations: 1.639 MB / 449.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1653, allocations: 0.7002 MB / 450.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.1654, allocations: 16.89 kB / 450.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1655, allocations: 35.42 kB / 450.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1655, allocations: 0 / 450.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1803, allocations: 3.19 MB / 453.4 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.1806, allocations: 230.8 kB / 453.7 MB, free: 316 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.939, allocations: 3.938 kB / 453.7 MB, free: 312 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches