Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] 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.2676/0.2676, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.1 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.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 65.5 kB / 491.9 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1813, allocations: 64.26 MB / 0.5431 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004066/0.1853, allocations: 1.718 MB / 0.5448 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1874, allocations: 0.8885 MB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1875, allocations: 3.938 kB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1879, allocations: 35.83 kB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1881, allocations: 59.7 kB / 0.5457 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1886, allocations: 103.7 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1888, allocations: 99.69 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1889, allocations: 12.5 kB / 0.5459 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.189, allocations: 39.8 kB / 0.546 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.1891, allocations: 35.77 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1891, allocations: 4 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1893, allocations: 43.98 kB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1893, allocations: 19.94 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.1894, allocations: 43.72 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1897, allocations: 107.5 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1897, allocations: 0 / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1897, allocations: 0 / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1897, allocations: 0 / 0.5462 GB, free: 0.8047 MB / 398.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.000743/0.1905, allocations: 422.7 kB / 0.5466 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1905, allocations: 12.03 kB / 0.5466 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.1906, allocations: 34.69 kB / 0.5467 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1906, allocations: 8.891 kB / 0.5467 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.191, allocations: 212.2 kB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.191, allocations: 384 / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.1911, allocations: 7.938 kB / 0.5469 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1913, allocations: 53.67 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1913, allocations: 0 / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1913, allocations: 3.938 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1913, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.1914, allocations: 19.98 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.1919, allocations: 288.8 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1921, allocations: 58.67 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.1922, allocations: 20.8 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1922, allocations: 0 / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.1924, allocations: 67.39 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1924, allocations: 0 / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007444/0.1931, allocations: 181.3 kB / 0.5475 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.1932, allocations: 55.41 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1935, allocations: 190.1 kB / 0.5478 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1935, allocations: 25.7 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1936, allocations: 108.1 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.1936, allocations: 27.73 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1937, allocations: 25.7 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1939, allocations: 322.8 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1939, allocations: 20 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.194, allocations: 33.7 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1942, allocations: 61.64 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1942, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002616/0.1945, allocations: 113.5 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1945, allocations: 8 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1945, allocations: 3.984 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1945, allocations: 0 / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1946, allocations: 12 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1946, allocations: 160 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.1947, allocations: 15.86 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1947, allocations: 8 kB / 0.5485 GB, free: 14.18 MB / 414.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.0001544/0.1949, allocations: 121.9 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1949, allocations: 11.91 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.195, allocations: 24.69 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.195, allocations: 3.938 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.195, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.195, allocations: 3.938 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.1956, allocations: 379.4 kB / 0.549 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1956, allocations: 7.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.1957, allocations: 12.03 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.1957, allocations: 7.922 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1957, allocations: 0 / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1957, allocations: 0 / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1957, allocations: 4 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.196, allocations: 200.3 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.1961, allocations: 85.02 kB / 0.5493 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1961, allocations: 11.94 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1962, allocations: 8.359 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1963, allocations: 7.938 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1963, allocations: 4 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1965, allocations: 144 kB / 0.5495 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1965, allocations: 0 / 0.5495 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.1969, allocations: 24.19 kB / 0.5495 GB, free: 13.04 MB / 414.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.002921/0.1998, allocations: 1.107 MB / 0.5506 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.2001, allocations: 51.92 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2001, allocations: 0 / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.2002, allocations: 31.91 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.2007, allocations: 28.28 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.2033, allocations: 1.634 MB / 0.5523 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.2037, allocations: 0.7002 MB / 0.553 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.523e-05/0.2038, allocations: 12.89 kB / 0.553 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.2039, allocations: 31.42 kB / 0.553 GB, free: 9.496 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2039, allocations: 4 kB / 0.5531 GB, free: 9.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.2357, allocations: 3.395 MB / 0.5564 GB, free: 6.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.103, allocations: 19.92 kB / 0.5564 GB, free: 6.117 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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: 11.235179676674306]