Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001126/0.001126, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005322/0.005322, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8524/0.8524, allocations: 177 MB / 204.9 MB, free: 5.73 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.2518/0.2518, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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: 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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.85e-05, allocations: 2.281 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1901/0.1901, allocations: 2.481 MB / 445.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.1908, allocations: 0.6956 MB / 446.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.191, allocations: 9.281 kB / 446.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1911, allocations: 40.2 kB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1912, allocations: 94.25 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1914, allocations: 116.3 kB / 446.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1916, allocations: 344.7 kB / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1917, allocations: 57.88 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1919, allocations: 188.4 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.192, allocations: 104.2 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.192, allocations: 23.34 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.72e-05/0.1921, allocations: 24.56 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.1921, allocations: 53.5 kB / 447.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.1922, allocations: 101.8 kB / 447.7 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1924, allocations: 313.2 kB / 448 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1924, allocations: 3.469 kB / 448 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1924, allocations: 0 / 448 MB, free: 42.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1924, allocations: 0 / 448 MB, free: 42.34 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.0004942/0.1929, allocations: 0.5101 MB / 448.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1929, allocations: 11.72 kB / 448.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.193, allocations: 55.48 kB / 448.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1932, allocations: 215.5 kB / 448.8 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1933, allocations: 25.81 kB / 448.8 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1933, allocations: 31.11 kB / 448.9 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.1936, allocations: 284.4 kB / 449.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1936, allocations: 3 kB / 449.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1936, allocations: 8.375 kB / 449.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1936, allocations: 12.44 kB / 449.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1938, allocations: 182.2 kB / 449.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.1945, allocations: 1.156 MB / 450.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1947, allocations: 238 kB / 450.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.1948, allocations: 95.17 kB / 450.8 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1948, allocations: 7.031 kB / 450.8 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.1949, allocations: 42.78 kB / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.1949, allocations: 0 / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001193/0.1961, allocations: 1.212 MB / 452.1 MB, free: 39.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1961, allocations: 134.2 kB / 452.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1962, allocations: 230.8 kB / 452.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1962, allocations: 32.55 kB / 452.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.1963, allocations: 177.1 kB / 452.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.1963, allocations: 120.5 kB / 452.8 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.1964, allocations: 76.05 kB / 452.8 MB, free: 38.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.1964, allocations: 338.6 kB / 453.2 MB, free: 38.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1965, allocations: 101.8 kB / 453.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1967, allocations: 237.2 kB / 453.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.197, allocations: 361.5 kB / 453.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.197, allocations: 0 / 453.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003591/0.1973, allocations: 406.9 kB / 454.2 MB, free: 37.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1973, allocations: 9.5 kB / 454.2 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1973, allocations: 5.281 kB / 454.3 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1974, allocations: 9.375 kB / 454.3 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1975, allocations: 94.83 kB / 454.4 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1975, allocations: 13.16 kB / 454.4 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.1976, allocations: 28.58 kB / 454.4 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1976, allocations: 18.5 kB / 454.4 MB, free: 37.82 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 6.924e-05/0.1977, allocations: 151.5 kB / 454.6 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1978, allocations: 34.44 kB / 454.6 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.1978, allocations: 39.28 kB / 454.6 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1978, allocations: 9.844 kB / 454.6 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1978, allocations: 0 / 454.6 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1978, allocations: 6.875 kB / 454.7 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.1985, allocations: 0.8796 MB / 455.5 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1985, allocations: 0 / 455.5 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1986, allocations: 81.05 kB / 455.6 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1986, allocations: 2.312 kB / 455.6 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1986, allocations: 9.984 kB / 455.6 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1986, allocations: 2.812 kB / 455.6 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1986, allocations: 6.812 kB / 455.6 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.1991, allocations: 0.732 MB / 456.4 MB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.1991, allocations: 25.72 kB / 456.4 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1991, allocations: 6.656 kB / 456.4 MB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1993, allocations: 18.47 kB / 456.4 MB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1993, allocations: 37.19 kB / 456.4 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1993, allocations: 12.16 kB / 456.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.244e-05/0.1994, allocations: 161.5 kB / 456.6 MB, free: 36.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1994, allocations: 0 / 456.6 MB, free: 36.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.1997, allocations: 66.91 kB / 456.7 MB, free: 36.34 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 6.558e-05/0.1997, allocations: 102.3 kB / 456.8 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.2, allocations: 272.2 kB / 457 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2, allocations: 0 / 457 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2002, allocations: 132.1 kB / 457.2 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2006, allocations: 43.88 kB / 457.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.2012, allocations: 0.7496 MB / 458 MB, free: 35.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.993e-05/0.2013, allocations: 166.6 kB / 458.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.2014, allocations: 32.81 kB / 458.2 MB, free: 35.48 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2014, allocations: 4 kB / 458.2 MB, free: 35.48 MB / 410.7 MB Notification: Performance of Templates: time 0.002911/0.2043, allocations: 3.541 MB / 461.7 MB, free: 35.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.080850375816226]