Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0008893/0.0008893, allocations: 83.7 kB / 20.67 MB, free: 3.883 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.0009741/0.0009741, allocations: 173.3 kB / 23.95 MB, free: 0.6016 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.9319/0.9319, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2626/0.2626, allocations: 32.78 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.646e-05, allocations: 3.125 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002285/0.002311, allocations: 1.714 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003433, allocations: 0.9742 MB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.003508, allocations: 3.938 kB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.00378, allocations: 35.83 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.004042, allocations: 107.4 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.004194, allocations: 75.66 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.004348, allocations: 107.6 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.004446, allocations: 4 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.004523, allocations: 55.83 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.004593, allocations: 31.91 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.004614, allocations: 4 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.004722, allocations: 47.91 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.004808, allocations: 27.8 kB / 442.9 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.004855, allocations: 19.94 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.005046, allocations: 115.6 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.005049, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005051, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.005055, allocations: 0 / 443 MB, free: 0.8359 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004649/0.00552, allocations: 357.4 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.00556, allocations: 12.03 kB / 443.4 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.00559, allocations: 34.75 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.005624, allocations: 12.89 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.005879, allocations: 153.6 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.0059, allocations: 8.312 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.005919, allocations: 4.375 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.006043, allocations: 65.91 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006053, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.006061, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006066, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.006118, allocations: 23.98 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.181/0.1871, allocations: 260.4 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1873, allocations: 55.92 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.1873, allocations: 21.38 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1873, allocations: 0 / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.1874, allocations: 72.62 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.1874, allocations: 0 / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003953/0.1878, allocations: 184.2 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1879, allocations: 56.66 kB / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.188, allocations: 210.3 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.188, allocations: 28.45 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.188, allocations: 106.9 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.188, allocations: 27.38 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1881, allocations: 26.84 kB / 444.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.159e-05/0.1881, allocations: 324.8 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.1881, allocations: 21.78 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.1882, allocations: 37.08 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/0.1882, allocations: 65.52 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1882, allocations: 0 / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001006/0.1883, allocations: 112.9 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1883, allocations: 5.844 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1884, allocations: 0.7188 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1884, allocations: 3.062 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.1884, allocations: 15.48 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1884, allocations: 6.359 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.1885, allocations: 2.75 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1885, allocations: 3.125 kB / 445.3 MB, free: 45.55 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 (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 5.399e-05/0.1885, allocations: 132.3 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.1885, allocations: 21.25 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.1887, allocations: 128 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1887, allocations: 2.875 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1887, allocations: 2.969 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1887, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1889, allocations: 372.6 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1889, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.1889, allocations: 11.89 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1889, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.189, allocations: 4.906 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.189, allocations: 5.031 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.189, allocations: 2.938 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1891, allocations: 218.3 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.1891, allocations: 10.81 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1891, allocations: 10.09 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.1891, allocations: 2.906 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1892, allocations: 6.328 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1892, allocations: 2.875 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.36e-05/0.1892, allocations: 161.6 kB / 446.3 MB, free: 44.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1892, allocations: 7.406 kB / 446.3 MB, free: 44.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.1894, allocations: 23.38 kB / 446.4 MB, free: 44.82 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008764/0.1903, allocations: 1.14 MB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1904, allocations: 60.75 kB / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1904, allocations: 0 / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.1904, allocations: 29.62 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1907, allocations: 34.5 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.1916, allocations: 1.717 MB / 449.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.1916, allocations: 99.28 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.1917, allocations: 22.8 kB / 449.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.1917, allocations: 37.59 kB / 449.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1917, allocations: 0 / 449.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.2057, allocations: 4.336 MB / 453.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/6.813, allocations: 6.625 kB / 453.8 MB, free: 41.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.88943410012871]