Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001267/0.001267, allocations: 88.33 kB / 21.44 MB, free: 3.113 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.004732/0.004732, allocations: 153.4 kB / 24.69 MB, free: 9.43 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.9232/0.9232, allocations: 177 MB / 204.9 MB, free: 5.699 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.2693/0.2693, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.452e-05, allocations: 2.281 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.1902/0.1902, allocations: 1.88 MB / 445.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.1911, allocations: 0.5207 MB / 445.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.1912, allocations: 6.594 kB / 445.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.1913, allocations: 24.78 kB / 445.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.1914, allocations: 41.03 kB / 445.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1916, allocations: 50.69 kB / 445.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1918, allocations: 159.2 kB / 446.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1919, allocations: 40.98 kB / 446.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1921, allocations: 93.5 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.1921, allocations: 42.91 kB / 446.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1922, allocations: 11.25 kB / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.596e-05/0.1922, allocations: 20.88 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.1922, allocations: 31.03 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1923, allocations: 47.53 kB / 446.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1924, allocations: 156.1 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1924, allocations: 1.969 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1924, allocations: 0 / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1924, allocations: 3.938 kB / 446.5 MB, free: 43.14 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0003636/0.1928, allocations: 364.2 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1928, allocations: 9.031 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.1929, allocations: 26 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1931, allocations: 150.2 kB / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1931, allocations: 9.688 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1931, allocations: 12.56 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1933, allocations: 126.3 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1933, allocations: 6.859 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1933, allocations: 11.72 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1933, allocations: 2.656 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1934, allocations: 84.44 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1938, allocations: 370.4 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.194, allocations: 104.9 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.194, allocations: 53.89 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.194, allocations: 6.906 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.194, allocations: 38.5 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.194, allocations: 0 / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008344/0.1949, allocations: 0.6613 MB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.1949, allocations: 58.34 kB / 448.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.195, allocations: 134.3 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.195, allocations: 28.64 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.195, allocations: 113.6 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.195, allocations: 74.23 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.1951, allocations: 36.47 kB / 449 MB, free: 41.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.1951, allocations: 325.1 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.1952, allocations: 41.52 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.1952, allocations: 75.39 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1954, allocations: 133 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1954, allocations: 4 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002045/0.1956, allocations: 206.4 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1956, allocations: 5.812 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1956, allocations: 2.75 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.1957, allocations: 46.89 kB / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1958, allocations: 34.44 kB / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007218/0.1965, allocations: 1.605 MB / 451.4 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.1966, allocations: 2.812 kB / 451.4 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1966, allocations: 9.359 kB / 451.4 MB, free: 39.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.1966, allocations: 132.4 kB / 451.6 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1967, allocations: 13.53 kB / 451.6 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.1967, allocations: 22.69 kB / 451.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1967, allocations: 7 kB / 451.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1967, allocations: 0 / 451.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1967, allocations: 0 / 451.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1971, allocations: 483.2 kB / 452.1 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1971, allocations: 3.25 kB / 452.1 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.1971, allocations: 35.81 kB / 452.1 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-05/0.1972, allocations: 29.67 kB / 452.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1972, allocations: 8.031 kB / 452.1 MB, free: 38.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004596/0.1977, allocations: 1.344 MB / 453.5 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1977, allocations: 0 / 453.5 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1979, allocations: 351.5 kB / 453.8 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.1979, allocations: 10.8 kB / 453.8 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.198, allocations: 6.906 kB / 453.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.198, allocations: 10.94 kB / 453.9 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.198, allocations: 13.42 kB / 453.9 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.198, allocations: 9 kB / 453.9 MB, free: 37.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.1981, allocations: 101.4 kB / 454 MB, free: 37.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1981, allocations: 0 / 454 MB, free: 37.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.1983, allocations: 37.59 kB / 454 MB, free: 37.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.11e-05/0.1984, allocations: 94.78 kB / 454.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.1987, allocations: 266.3 kB / 454.4 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1987, allocations: 0 / 454.4 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.1988, allocations: 188.2 kB / 454.6 MB, free: 36.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.199, allocations: 27.41 kB / 454.6 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.1995, allocations: 409.4 kB / 455 MB, free: 36.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.005e-05/0.1996, allocations: 107.9 kB / 455.1 MB, free: 36.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.1996, allocations: 17.19 kB / 455.1 MB, free: 36.33 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1996, allocations: 3.938 kB / 455.1 MB, free: 36.33 MB / 410.7 MB Notification: Performance of Templates: time 0.00287/0.2025, allocations: 2.489 MB / 457.6 MB, free: 36.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.232170358300209]