Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.0012, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009888/0.0009888, allocations: 101.7 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 59.89 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2236, allocations: 50.44 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003028/0.2267, allocations: 2.334 MB / 409.4 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2277, allocations: 0.8414 MB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.2278, allocations: 4 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.2281, allocations: 31.77 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.2283, allocations: 103.4 kB / 410.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.2284, allocations: 71.92 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.2287, allocations: 271.4 kB / 410.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2288, allocations: 52.34 kB / 410.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.229, allocations: 115.5 kB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2291, allocations: 131.4 kB / 411 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.2292, allocations: 16 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2293, allocations: 63.98 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.2294, allocations: 51.81 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.425e-05/0.2295, allocations: 107.5 kB / 411.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.2297, allocations: 300.6 kB / 411.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2297, allocations: 0 / 411.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2297, allocations: 4 kB / 411.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2298, allocations: 0 / 411.5 MB, free: 23.34 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008754/0.2306, allocations: 0.5822 MB / 412.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2307, allocations: 8.031 kB / 412.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.2308, allocations: 44.58 kB / 412.1 MB, free: 22.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.2311, allocations: 239.8 kB / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2311, allocations: 16.31 kB / 412.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2312, allocations: 20.38 kB / 412.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.2315, allocations: 227.5 kB / 412.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2316, allocations: 15.91 kB / 412.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2316, allocations: 4 kB / 412.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2316, allocations: 4 kB / 412.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.232, allocations: 183.6 kB / 412.8 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.2328, allocations: 0.6525 MB / 413.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.2333, allocations: 209.4 kB / 413.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.2335, allocations: 100.8 kB / 413.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2335, allocations: 7.984 kB / 413.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.2339, allocations: 164.8 kB / 414 MB, free: 20.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.2339, allocations: 0 / 414 MB, free: 20.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.002035/0.236, allocations: 1.168 MB / 415.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.236, allocations: 55.41 kB / 415.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2361, allocations: 203 kB / 415.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.2362, allocations: 33.69 kB / 415.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.2362, allocations: 124.4 kB / 415.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.2363, allocations: 98.64 kB / 415.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.2364, allocations: 61.69 kB / 415.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.2364, allocations: 334.8 kB / 416 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.2367, allocations: 95.95 kB / 416.1 MB, free: 18.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.2369, allocations: 135.7 kB / 416.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.2373, allocations: 246.6 kB / 416.5 MB, free: 17.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2374, allocations: 4 kB / 416.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006551/0.238, allocations: 378.5 kB / 416.9 MB, free: 17.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.2381, allocations: 33.69 kB / 416.9 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2381, allocations: 4 kB / 416.9 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.2383, allocations: 56.77 kB / 417 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2384, allocations: 55.84 kB / 417 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2397, allocations: 1.62 MB / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.2399, allocations: 40.05 kB / 418.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.24, allocations: 12 kB / 418.7 MB, free: 15.64 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: 11 (signalEngagement.count,$PRE.signalEngagement.count,signalEngagement.T_start,$PRE.signalEngagement.T_start,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001051/0.2401, allocations: 150.2 kB / 418.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2401, allocations: 23.72 kB / 418.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.2402, allocations: 30.55 kB / 418.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2402, allocations: 0 / 418.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2402, allocations: 0 / 418.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2402, allocations: 4 kB / 418.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009165/0.2411, allocations: 0.6903 MB / 419.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2411, allocations: 0 / 419.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2413, allocations: 39.97 kB / 419.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.2415, allocations: 60.77 kB / 419.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.2415, allocations: 8 kB / 419.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009829/0.2425, allocations: 1.527 MB / 421.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2425, allocations: 7.969 kB / 421.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/0.2468, allocations: 4.052 MB / 425.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.2469, allocations: 116.7 kB / 425.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.2469, allocations: 7.938 kB / 425.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2471, allocations: 36.02 kB / 425.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.2473, allocations: 75.86 kB / 425.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2473, allocations: 8 kB / 425.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.2474, allocations: 143.2 kB / 425.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2475, allocations: 0 / 425.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.248, allocations: 112 kB / 425.8 MB, free: 8.023 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaOut.phi,inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 7 ($whenCondition1,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,signalEngagement.T_start,signalEngagement.count) * Number of discrete states: 3 (signalEngagement.count,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009728/0.249, allocations: 464.3 kB / 426.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007734/0.2497, allocations: 450.5 kB / 426.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2498, allocations: 0 / 426.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.2501, allocations: 258.5 kB / 426.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.2506, allocations: 53.41 kB / 427 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.252, allocations: 1.084 MB / 428 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.2522, allocations: 0.748 MB / 428.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.2523, allocations: 33.94 kB / 428.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.2524, allocations: 23.42 kB / 428.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2524, allocations: 4 kB / 428.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of Templates: time 0.007583/0.26, allocations: 5.182 MB / 434 MB, free: 15.83 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches