Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, 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.165/1.165, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0008922/0.0008922, allocations: 102.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007551/0.0007553, allocations: 35.95 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.184, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002776/0.1868, allocations: 2.261 MB / 376.1 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.1877, allocations: 0.7193 MB / 376.8 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.1878, allocations: 8.062 kB / 376.8 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1879, allocations: 19.97 kB / 376.8 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1881, allocations: 63.53 kB / 376.9 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1883, allocations: 75.06 kB / 377 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1885, allocations: 260.3 kB / 377.2 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1886, allocations: 52.73 kB / 377.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1887, allocations: 101.5 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1889, allocations: 117.8 kB / 377.5 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.1889, allocations: 11.69 kB / 377.5 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.189, allocations: 61.55 kB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.1891, allocations: 40.06 kB / 377.6 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.1891, allocations: 110.2 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1894, allocations: 258.8 kB / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1894, allocations: 0 / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1894, allocations: 3.938 kB / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.1894, allocations: 1.156 kB / 378 MB, free: 42.71 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006032/0.19, allocations: 0.5173 MB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.19, allocations: 8.625 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1901, allocations: 25.19 kB / 378.5 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1903, allocations: 233 kB / 378.7 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1903, allocations: 12.66 kB / 378.8 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.1903, allocations: 21.41 kB / 378.8 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.1906, allocations: 221 kB / 379 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1907, allocations: 13.23 kB / 379 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1907, allocations: 9.219 kB / 379 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1907, allocations: 5.469 kB / 379 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.191, allocations: 163 kB / 379.2 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.1918, allocations: 0.7782 MB / 380 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.1921, allocations: 132.5 kB / 380.1 MB, free: 40.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1922, allocations: 63 kB / 380.1 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1922, allocations: 6.25 kB / 380.2 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.1923, allocations: 43.86 kB / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1923, allocations: 0 / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001431/0.1937, allocations: 0.9842 MB / 381.2 MB, free: 40.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.1937, allocations: 53.62 kB / 381.2 MB, free: 39.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1939, allocations: 210.2 kB / 381.4 MB, free: 39.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1939, allocations: 32.2 kB / 381.5 MB, free: 39.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.1939, allocations: 137 kB / 381.6 MB, free: 39.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.194, allocations: 67.86 kB / 381.7 MB, free: 39.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.1941, allocations: 57.75 kB / 381.7 MB, free: 39.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.1941, allocations: 331 kB / 382 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1942, allocations: 81.98 kB / 382.1 MB, free: 39.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1944, allocations: 108.7 kB / 382.2 MB, free: 39.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1947, allocations: 174.6 kB / 382.4 MB, free: 39.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1947, allocations: 0 / 382.4 MB, free: 39.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004031/0.1951, allocations: 288.5 kB / 382.7 MB, free: 38.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1951, allocations: 7.156 kB / 382.7 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1951, allocations: 0.8438 kB / 382.7 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.1953, allocations: 81.14 kB / 382.8 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1955, allocations: 37.61 kB / 382.8 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003187/0.1958, allocations: 0.6161 MB / 383.4 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.196, allocations: 24.44 kB / 383.5 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.196, allocations: 14.84 kB / 383.5 MB, free: 38.21 MB / 298.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: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 8.163e-05/0.1961, allocations: 133.3 kB / 383.6 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1961, allocations: 18 kB / 383.6 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.1962, allocations: 29.58 kB / 383.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1962, allocations: 6.688 kB / 383.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1962, allocations: 0 / 383.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1962, allocations: 3.938 kB / 383.7 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.1969, allocations: 0.5971 MB / 384.2 MB, free: 37.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1969, allocations: 1.156 kB / 384.3 MB, free: 37.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.197, allocations: 34.52 kB / 384.3 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.1972, allocations: 68.34 kB / 384.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1972, allocations: 1.375 kB / 384.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002856/0.1975, allocations: 0.6219 MB / 385 MB, free: 36.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1975, allocations: 5.312 kB / 385 MB, free: 36.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.202, allocations: 4.04 MB / 389 MB, free: 33.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.2021, allocations: 113.1 kB / 389.1 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.2021, allocations: 6.188 kB / 389.1 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2023, allocations: 19.25 kB / 389.2 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.2023, allocations: 22.97 kB / 389.2 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2024, allocations: 11.64 kB / 389.2 MB, free: 33.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.2025, allocations: 156.6 kB / 389.3 MB, free: 33.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2025, allocations: 0 / 389.3 MB, free: 33.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.2029, allocations: 117.1 kB / 389.5 MB, free: 33 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.2031, allocations: 139.2 kB / 389.6 MB, free: 32.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.2035, allocations: 205 kB / 389.8 MB, free: 32.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2035, allocations: 4.125 kB / 389.8 MB, free: 32.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.2037, allocations: 103.8 kB / 389.9 MB, free: 32.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2041, allocations: 36.02 kB / 389.9 MB, free: 32.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2053, allocations: 1.045 MB / 391 MB, free: 31.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.2054, allocations: 0.7482 MB / 391.7 MB, free: 30.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.115e-05/0.2055, allocations: 21.94 kB / 391.7 MB, free: 30.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.2055, allocations: 19.44 kB / 391.8 MB, free: 30.6 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2055, allocations: 0 / 391.8 MB, free: 30.6 MB / 298.7 MB Notification: Performance of Templates: time 0.005711/0.2112, allocations: 3.932 MB / 395.7 MB, free: 26.68 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches