Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001192/0.001192, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001184/0.001184, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.434/1.434, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.251/0.251, allocations: 44.17 MB / 336.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.86 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1566, allocations: 60.83 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.005308/0.1619, allocations: 1.769 MB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1638, allocations: 0.8575 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.164, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1645, allocations: 35.83 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.1648, allocations: 51.83 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.1652, allocations: 95.58 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1654, allocations: 95.69 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1656, allocations: 12.23 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1657, allocations: 43.73 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1658, allocations: 35.83 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1659, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.166, allocations: 43.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.1661, allocations: 23.91 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.1662, allocations: 31.75 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.1665, allocations: 115.8 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1665, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1665, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1665, allocations: 0 / 472 MB, free: 11.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006538/0.1672, allocations: 411 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1672, allocations: 8.031 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1673, allocations: 34.75 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1673, allocations: 12.75 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1676, allocations: 208.1 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1676, allocations: 4.375 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1677, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1679, allocations: 57.61 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1679, allocations: 0 / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1679, allocations: 0 / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1679, allocations: 4 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.168, allocations: 15.98 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1685, allocations: 292.9 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1687, allocations: 62.55 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.1687, allocations: 20.86 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.1688, allocations: 3.938 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.169, allocations: 67.39 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.169, allocations: 0 / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007477/0.1698, allocations: 177.2 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.1699, allocations: 55.41 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1701, allocations: 186.1 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1701, allocations: 29.7 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.1702, allocations: 112.1 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1702, allocations: 19.72 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.1703, allocations: 21.7 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1705, allocations: 326.8 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.1706, allocations: 16 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.1706, allocations: 37.64 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1708, allocations: 66.08 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1708, allocations: 0 / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002412/0.171, allocations: 105.4 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1711, allocations: 4 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1711, allocations: 8 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1711, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1712, allocations: 12 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1712, allocations: 0 / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.1713, allocations: 15.92 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1713, allocations: 8.031 kB / 474.4 MB, free: 8.777 MB / 350.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.0001388/0.1715, allocations: 124.9 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1715, allocations: 7.906 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.1716, allocations: 20.7 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1716, allocations: 7.984 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1716, allocations: 0 / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1716, allocations: 3.938 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.1722, allocations: 387.3 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1722, allocations: 4 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.1722, allocations: 8 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1723, allocations: 7.922 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1723, allocations: 4 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1723, allocations: 3.938 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1723, allocations: 4 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.1726, allocations: 208.6 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.1727, allocations: 85.02 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1727, allocations: 11.88 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1728, allocations: 3.984 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1729, allocations: 4 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1729, allocations: 4 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.173, allocations: 147.2 kB / 475.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.173, allocations: 0 / 475.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1734, allocations: 28 kB / 475.4 MB, free: 7.617 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: 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.001884/0.1753, allocations: 1.09 MB / 476.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1755, allocations: 59.91 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1755, allocations: 0 / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1756, allocations: 27.98 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.176, allocations: 39.84 kB / 476.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.178, allocations: 1.643 MB / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1784, allocations: 0.7041 MB / 479 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.734e-05/0.1785, allocations: 17.17 kB / 479 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.1786, allocations: 35.42 kB / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1786, allocations: 0 / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.1954, allocations: 3.208 MB / 482.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.1957, allocations: 236.7 kB / 482.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.068, allocations: 3.938 kB / 482.5 MB, free: 0.6797 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches