Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001096/0.0011, allocations: 108.8 kB / 17.33 MB, free: 6.023 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.001006/0.001006, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.435/1.435, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2523/0.2523, allocations: 44.17 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 60.72 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1834, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004439/0.1879, allocations: 1.757 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1897, allocations: 0.8536 MB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1899, allocations: 0 / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.1903, allocations: 39.83 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1907, allocations: 51.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1911, allocations: 87.83 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.1914, allocations: 99.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1915, allocations: 4.234 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1916, allocations: 51.72 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.1917, allocations: 31.84 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1917, allocations: 8 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1919, allocations: 39.98 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1919, allocations: 23.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.192, allocations: 35.73 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1922, allocations: 111.9 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1923, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1923, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1923, allocations: 0 / 472 MB, free: 11.41 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.0007172/0.193, allocations: 411 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/0.1931, allocations: 16.03 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.1931, allocations: 30.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1932, allocations: 12.75 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.1935, allocations: 212.1 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1936, allocations: 384 / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1936, allocations: 7.938 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1938, allocations: 57.61 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1938, allocations: 3.938 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1938, allocations: 0 / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1938, allocations: 0 / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.1939, allocations: 23.98 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.1944, allocations: 280.9 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1946, allocations: 62.61 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.1947, allocations: 20.84 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1947, allocations: 7.938 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.195, allocations: 67.39 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.1951, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006611/0.1957, allocations: 177.2 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1958, allocations: 51.41 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.196, allocations: 190.1 kB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1961, allocations: 25.7 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.1962, allocations: 112.1 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1962, allocations: 23.7 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.1963, allocations: 21.72 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1965, allocations: 322.8 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.1966, allocations: 20.36 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.1966, allocations: 41.64 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1968, allocations: 57.78 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1968, allocations: 4 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.197, allocations: 113.4 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.197, allocations: 4 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1971, allocations: 0 / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1971, allocations: 0 / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1972, allocations: 19.98 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.1972, allocations: 0 / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.1973, allocations: 11.97 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1973, allocations: 4 kB / 474.4 MB, free: 8.801 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.000138/0.1974, allocations: 125.8 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1975, allocations: 11.91 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.1975, allocations: 12.72 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1976, allocations: 0 / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1976, allocations: 0 / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1976, allocations: 7.938 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.1981, allocations: 391.5 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1981, allocations: 0 / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.1982, allocations: 11.94 kB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1982, allocations: 3.938 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1982, allocations: 4 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1982, allocations: 0 / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1982, allocations: 0 / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1985, allocations: 216.1 kB / 475.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1986, allocations: 89 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1986, allocations: 7.938 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.1987, allocations: 4 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1987, allocations: 7.984 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1987, allocations: 7.984 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1989, allocations: 139.2 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 0 / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1991, allocations: 31.98 kB / 475.4 MB, free: 7.641 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.001604/0.2008, allocations: 1.101 MB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.201, allocations: 63.89 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.201, allocations: 0 / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.2011, allocations: 27.98 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.2015, allocations: 30.33 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.2035, allocations: 1.65 MB / 478.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2039, allocations: 0.7041 MB / 479 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.2039, allocations: 17.19 kB / 479 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.204, allocations: 35.42 kB / 479.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.204, allocations: 0 / 479.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.2213, allocations: 3.214 MB / 482.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.2215, allocations: 232.7 kB / 482.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.142, allocations: 0 / 482.5 MB, free: 0.6992 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches