Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008273, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008176/0.0008176, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9155/0.9155, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 34.23 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.738e-05, allocations: 2.281 kB / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.1846/0.1846, allocations: 1.904 MB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1857, allocations: 1.014 MB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.1858, allocations: 0 / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1861, allocations: 39.77 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1863, allocations: 104.1 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.1865, allocations: 96.69 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1866, allocations: 150 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.1867, allocations: 24.03 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.1868, allocations: 79.91 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.1869, allocations: 40.19 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1869, allocations: 5.812 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.187, allocations: 47.94 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.187, allocations: 25.03 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1871, allocations: 34.38 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1872, allocations: 155.9 kB / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1872, allocations: 0 / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1872, allocations: 0 / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1872, allocations: 3.312 kB / 445.9 MB, free: 42.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004251/0.1877, allocations: 417.2 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1877, allocations: 10.78 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.175e-05/0.1877, allocations: 40.59 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1878, allocations: 15.03 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.188, allocations: 165 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.188, allocations: 7.156 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.188, allocations: 8.375 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1881, allocations: 147 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1881, allocations: 192 / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1882, allocations: 4.625 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1882, allocations: 7.812 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.1882, allocations: 52.44 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.1886, allocations: 483.2 kB / 447.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1888, allocations: 84.56 kB / 447.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1888, allocations: 38.14 kB / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1888, allocations: 0 / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.189, allocations: 108.6 kB / 447.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.189, allocations: 0 / 447.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002307/0.1892, allocations: 157.2 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1892, allocations: 61.44 kB / 447.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1893, allocations: 200 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.1893, allocations: 25.7 kB / 447.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1894, allocations: 126.9 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.1894, allocations: 26.22 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1894, allocations: 31.66 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.1894, allocations: 332.5 kB / 448.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.1895, allocations: 29.03 kB / 448.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.1895, allocations: 64.34 kB / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.06e-05/0.1896, allocations: 100.9 kB / 448.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1896, allocations: 0 / 448.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001515/0.1898, allocations: 137.8 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1898, allocations: 9.562 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1898, allocations: 6.109 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1898, allocations: 6.875 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.1899, allocations: 24.52 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1899, allocations: 2.719 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.1899, allocations: 9.203 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1899, allocations: 5.344 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.209e-05/0.19, allocations: 134.3 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.19, allocations: 16.16 kB / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.1901, allocations: 139.3 kB / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1901, allocations: 0 / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1901, allocations: 3.188 kB / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1901, allocations: 0 / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.1902, allocations: 186.7 kB / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1902, allocations: 0 / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.1903, allocations: 11.94 kB / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1903, allocations: 3.906 kB / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.1903, allocations: 0 / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1903, allocations: 0 / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1903, allocations: 6.938 kB / 449.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1905, allocations: 199.4 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.1905, allocations: 14.59 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1905, allocations: 3.156 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-05/0.1905, allocations: 12.38 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1906, allocations: 8.469 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1906, allocations: 2.656 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.1907, allocations: 146.1 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1907, allocations: 6.969 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.1908, allocations: 31.31 kB / 449.7 MB, free: 39.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009109/0.1918, allocations: 1.046 MB / 450.8 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1919, allocations: 78.94 kB / 450.8 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1919, allocations: 2.812 kB / 450.9 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.1919, allocations: 38.84 kB / 450.9 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.1921, allocations: 38.16 kB / 450.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1932, allocations: 1.775 MB / 452.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.1933, allocations: 112.2 kB / 452.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.1933, allocations: 13.45 kB / 452.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.1934, allocations: 40.09 kB / 452.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1934, allocations: 0 / 452.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.2102, allocations: 4.693 MB / 457.6 MB, free: 36.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.783, allocations: 3.984 kB / 457.6 MB, free: 36.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.781831875443459]