Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000954/0.000954, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8999/0.8999, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.9e-05, allocations: 6.281 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.1706/0.1707, allocations: 1.659 MB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1718, allocations: 0.9631 MB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.1719, allocations: 3.938 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1722, allocations: 63.58 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.1725, allocations: 112.6 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.1726, allocations: 80.69 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1727, allocations: 108.5 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1728, allocations: 6.328 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.1728, allocations: 55.23 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.1729, allocations: 47.19 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1729, allocations: 4.156 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.173, allocations: 33.97 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1731, allocations: 23.36 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.1731, allocations: 16.42 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1732, allocations: 101.9 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.1732, allocations: 0.5625 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1733, allocations: 3.234 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1733, allocations: 0.9062 kB / 445.5 MB, free: 43 MB / 410.7 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.0003737/0.1736, allocations: 339.5 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1737, allocations: 10.5 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.171e-05/0.1737, allocations: 30.75 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1737, allocations: 15.44 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1739, allocations: 149.6 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1739, allocations: 3.031 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1739, allocations: 3.625 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1741, allocations: 54.86 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1741, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1741, allocations: 5.984 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1741, allocations: 3.312 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.1741, allocations: 19.41 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.1742, allocations: 147 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1744, allocations: 52.53 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.1744, allocations: 20.66 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1744, allocations: 0 / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.1745, allocations: 74.47 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1745, allocations: 4 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002214/0.1748, allocations: 103.6 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1748, allocations: 54.34 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1749, allocations: 199.6 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1749, allocations: 28.8 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.1749, allocations: 105.4 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.175, allocations: 11.05 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.175, allocations: 18.81 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.048e-05/0.175, allocations: 326.7 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.1751, allocations: 14.31 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.1751, allocations: 34.14 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.1752, allocations: 46.44 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1752, allocations: 0 / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.285e-05/0.1753, allocations: 86.53 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1753, allocations: 7.906 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1753, allocations: 0 / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1753, allocations: 0 / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.1754, allocations: 16.97 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1754, allocations: 6.562 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.1754, allocations: 6.578 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1754, allocations: 2.844 kB / 447.5 MB, free: 41.48 MB / 410.7 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 5.6e-05/0.1755, allocations: 130.4 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.1755, allocations: 12.95 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1756, allocations: 95.53 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1756, allocations: 3.031 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1756, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1756, allocations: 3.234 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.203e-05/0.1757, allocations: 158.7 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1757, allocations: 4 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.1757, allocations: 9.25 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1757, allocations: 5.531 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1757, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1757, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1757, allocations: 2.781 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.828e-05/0.1758, allocations: 118.7 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.1758, allocations: 13.73 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1758, allocations: 0 / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.791e-05/0.1759, allocations: 2.906 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1759, allocations: 10.36 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1759, allocations: 3 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.176, allocations: 152.9 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.176, allocations: 0 / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.1761, allocations: 18.09 kB / 448.2 MB, free: 41 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008313/0.1769, allocations: 0.9951 MB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1771, allocations: 44.48 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1771, allocations: 2.625 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.1771, allocations: 22.52 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.1773, allocations: 27.7 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.1782, allocations: 1.527 MB / 450.8 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/0.1783, allocations: 86.23 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.1783, allocations: 9.688 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.1783, allocations: 40.02 kB / 451 MB, free: 38.96 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1783, allocations: 0 / 451 MB, free: 38.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.1951, allocations: 3.971 MB / 454.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.848, allocations: 2.656 kB / 454.9 MB, free: 37.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.808845434337854]