Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008841/0.000884, allocations: 99.97 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007354/0.0007354, allocations: 43.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1876, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002878/0.1905, allocations: 2.394 MB / 376.2 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.1912, allocations: 0.6213 MB / 376.8 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.1913, allocations: 8.125 kB / 376.8 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1914, allocations: 31.84 kB / 376.9 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.1915, allocations: 58.34 kB / 376.9 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.1917, allocations: 46.83 kB / 377 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1919, allocations: 248 kB / 377.2 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.192, allocations: 74.19 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1922, allocations: 89.86 kB / 377.4 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1923, allocations: 104.2 kB / 377.5 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1923, allocations: 13.16 kB / 377.5 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.1923, allocations: 14.28 kB / 377.5 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.1924, allocations: 37.34 kB / 377.5 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.325e-05/0.1925, allocations: 111.8 kB / 377.6 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1926, allocations: 235.8 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1926, allocations: 0 / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1927, allocations: 1.125 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1927, allocations: 7.938 kB / 377.9 MB, free: 42.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005079/0.1932, allocations: 0.5038 MB / 378.4 MB, free: 42.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1932, allocations: 8.406 kB / 378.4 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.1933, allocations: 26.09 kB / 378.4 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1934, allocations: 238.1 kB / 378.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1935, allocations: 13.25 kB / 378.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1935, allocations: 20.94 kB / 378.7 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1938, allocations: 219.4 kB / 378.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1938, allocations: 1.188 kB / 378.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1938, allocations: 11 kB / 378.9 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1938, allocations: 4.844 kB / 378.9 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.1941, allocations: 126.7 kB / 379 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.1948, allocations: 0.7123 MB / 379.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.195, allocations: 152.5 kB / 379.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1951, allocations: 68.83 kB / 380 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1952, allocations: 2.25 kB / 380 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.1952, allocations: 35.66 kB / 380 MB, free: 40.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.1952, allocations: 0 / 380 MB, free: 40.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001178/0.1964, allocations: 0.8871 MB / 380.9 MB, free: 40.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.1964, allocations: 53.59 kB / 380.9 MB, free: 40.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1965, allocations: 177.4 kB / 381.1 MB, free: 40.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.1965, allocations: 29.7 kB / 381.2 MB, free: 40.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1966, allocations: 142.6 kB / 381.3 MB, free: 39.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.1966, allocations: 96.61 kB / 381.4 MB, free: 39.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.1967, allocations: 47.36 kB / 381.4 MB, free: 39.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.047e-05/0.1967, allocations: 331.3 kB / 381.8 MB, free: 39.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1968, allocations: 54.06 kB / 381.8 MB, free: 39.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.197, allocations: 95.2 kB / 381.9 MB, free: 39.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.1972, allocations: 176.4 kB / 382.1 MB, free: 39.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1972, allocations: 0 / 382.1 MB, free: 39.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003486/0.1975, allocations: 255 kB / 382.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1976, allocations: 7.562 kB / 382.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1976, allocations: 1.219 kB / 382.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.1977, allocations: 33.91 kB / 382.4 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1979, allocations: 51.88 kB / 382.4 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007687/0.1987, allocations: 1.377 MB / 383.8 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.933e-05/0.1988, allocations: 8.344 kB / 383.8 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1988, allocations: 15.09 kB / 383.8 MB, free: 37.65 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 7.529e-05/0.1989, allocations: 131.6 kB / 383.9 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.1989, allocations: 24.12 kB / 384 MB, free: 37.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.199, allocations: 29.86 kB / 384 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.199, allocations: 3.031 kB / 384 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.199, allocations: 0 / 384 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.199, allocations: 1.406 kB / 384 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.1997, allocations: 0.6545 MB / 384.7 MB, free: 36.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1997, allocations: 5.172 kB / 384.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1999, allocations: 41.77 kB / 384.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.336e-05/0.2, allocations: 38.3 kB / 384.7 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2, allocations: 5.344 kB / 384.7 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006535/0.2007, allocations: 1.382 MB / 386.1 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2007, allocations: 5.094 kB / 386.1 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.2033, allocations: 3.347 MB / 389.5 MB, free: 32.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2034, allocations: 89.45 kB / 389.6 MB, free: 32.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2034, allocations: 11.31 kB / 389.6 MB, free: 32.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2035, allocations: 11.47 kB / 389.6 MB, free: 32.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.2036, allocations: 19.7 kB / 389.6 MB, free: 32.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2036, allocations: 5.625 kB / 389.6 MB, free: 32.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.571e-05/0.2036, allocations: 127 kB / 389.7 MB, free: 32.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2036, allocations: 0 / 389.7 MB, free: 32.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.204, allocations: 87.44 kB / 389.8 MB, free: 32.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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 8.583e-05/0.2041, allocations: 107.8 kB / 389.9 MB, free: 32.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.2045, allocations: 295.6 kB / 390.2 MB, free: 31.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2046, allocations: 1.125 kB / 390.2 MB, free: 31.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.2048, allocations: 209.4 kB / 390.4 MB, free: 31.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2052, allocations: 44.22 kB / 390.5 MB, free: 31.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2063, allocations: 1.09 MB / 391.6 MB, free: 30.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2064, allocations: 0.7518 MB / 392.3 MB, free: 29.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.2065, allocations: 25.88 kB / 392.3 MB, free: 29.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.2065, allocations: 19.44 kB / 392.3 MB, free: 29.85 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2066, allocations: 0 / 392.3 MB, free: 29.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004333/0.2109, allocations: 2.786 MB / 395.1 MB, free: 27.08 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches