Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.001232/0.001232, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005755/0.005755, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.8862/0.8862, allocations: 177.1 MB / 205 MB, free: 5.73 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.2885/0.2885, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 443.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.974e-05, allocations: 3.688 kB / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1825/0.1825, allocations: 2.485 MB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.1835, allocations: 0.6968 MB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1836, allocations: 9.406 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1837, allocations: 48.75 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.1838, allocations: 93.45 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1841, allocations: 109.6 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1844, allocations: 349.2 kB / 447.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1845, allocations: 56.52 kB / 447.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.1847, allocations: 189.1 kB / 447.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.1848, allocations: 100.9 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1849, allocations: 22.97 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.1849, allocations: 22.81 kB / 447.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.1849, allocations: 59.94 kB / 447.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.185, allocations: 98.09 kB / 447.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1852, allocations: 312.9 kB / 448 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1852, allocations: 2.625 kB / 448 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1853, allocations: 0 / 448 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1853, allocations: 0 / 448 MB, free: 42.48 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000557/0.1858, allocations: 0.513 MB / 448.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1859, allocations: 8.562 kB / 448.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.186, allocations: 60.81 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1863, allocations: 221.7 kB / 448.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1863, allocations: 19.56 kB / 448.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1863, allocations: 28.52 kB / 448.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.1866, allocations: 283.3 kB / 449.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1866, allocations: 9.875 kB / 449.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1866, allocations: 11.34 kB / 449.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1867, allocations: 9.906 kB / 449.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.1869, allocations: 182.4 kB / 449.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.1876, allocations: 1.147 MB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1879, allocations: 244.7 kB / 450.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.188, allocations: 97.89 kB / 450.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.188, allocations: 3.031 kB / 450.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.188, allocations: 41.59 kB / 450.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.188, allocations: 2.906 kB / 450.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001229/0.1893, allocations: 1.201 MB / 452.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1893, allocations: 134.4 kB / 452.2 MB, free: 39.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1894, allocations: 229.4 kB / 452.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1894, allocations: 32.67 kB / 452.5 MB, free: 39.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.1895, allocations: 184.2 kB / 452.7 MB, free: 39.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1895, allocations: 116.5 kB / 452.8 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1896, allocations: 73.97 kB / 452.8 MB, free: 38.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.1896, allocations: 339 kB / 453.2 MB, free: 38.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1897, allocations: 105.3 kB / 453.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1899, allocations: 237.1 kB / 453.5 MB, free: 38.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1902, allocations: 362.1 kB / 453.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1902, allocations: 0 / 453.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003742/0.1906, allocations: 401.6 kB / 454.2 MB, free: 37.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1906, allocations: 8.625 kB / 454.3 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.1906, allocations: 6.875 kB / 454.3 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1906, allocations: 11.91 kB / 454.3 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1908, allocations: 99.86 kB / 454.4 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1908, allocations: 9.719 kB / 454.4 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.1909, allocations: 29.17 kB / 454.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1909, allocations: 18.44 kB / 454.4 MB, free: 37.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 7.4e-05/0.191, allocations: 149.2 kB / 454.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.1911, allocations: 34.62 kB / 454.6 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.1911, allocations: 39 kB / 454.6 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1911, allocations: 9.844 kB / 454.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1911, allocations: 0 / 454.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1911, allocations: 3.375 kB / 454.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.1918, allocations: 0.8892 MB / 455.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1918, allocations: 0 / 455.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.192, allocations: 81.2 kB / 455.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.192, allocations: 1.078 kB / 455.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.192, allocations: 13.94 kB / 455.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.192, allocations: 2.906 kB / 455.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.192, allocations: 0 / 455.6 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.1925, allocations: 0.7353 MB / 456.4 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.1925, allocations: 20.05 kB / 456.4 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1925, allocations: 9.531 kB / 456.4 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1927, allocations: 21.42 kB / 456.4 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.1927, allocations: 33.36 kB / 456.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1927, allocations: 16.44 kB / 456.5 MB, free: 36.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.1928, allocations: 158.2 kB / 456.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1928, allocations: 0 / 456.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.1931, allocations: 69.09 kB / 456.7 MB, free: 36.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 8.587e-05/0.1932, allocations: 100.8 kB / 456.8 MB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1935, allocations: 269.9 kB / 457.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1935, allocations: 0 / 457.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1937, allocations: 134.4 kB / 457.2 MB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.1941, allocations: 41.47 kB / 457.2 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.1948, allocations: 0.7589 MB / 458 MB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.896e-05/0.1949, allocations: 163.8 kB / 458.2 MB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.195, allocations: 32.08 kB / 458.2 MB, free: 35.61 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.195, allocations: 0 / 458.2 MB, free: 35.61 MB / 410.7 MB Notification: Performance of Templates: time 0.003216/0.1982, allocations: 3.552 MB / 461.7 MB, free: 35.24 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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: 5.020837594754994]