Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.001519/0.001519, allocations: 117.9 kB / 19.18 MB, free: 3.883 MB / 14.72 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.001614/0.001614, allocations: 208.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 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 1.472/1.472, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 53.33 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004382/0.1088, allocations: 2.337 MB / 430.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1102, allocations: 0.8568 MB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1103, allocations: 7.938 kB / 431 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1106, allocations: 55.56 kB / 431.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1109, allocations: 99.31 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1111, allocations: 83.83 kB / 431.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1114, allocations: 279.4 kB / 431.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1116, allocations: 44.39 kB / 431.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1118, allocations: 127.5 kB / 431.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.112, allocations: 127.4 kB / 431.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.1121, allocations: 20 kB / 431.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1122, allocations: 79.98 kB / 431.9 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.1123, allocations: 59.81 kB / 432 MB, free: 328 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1124, allocations: 111.4 kB / 432.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1995/0.312, allocations: 312.8 kB / 432.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.312, allocations: 0 / 432.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.312, allocations: 0 / 432.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.312, allocations: 0.9688 kB / 432.4 MB, free: 9.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008629/0.3128, allocations: 0.5413 MB / 432.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3129, allocations: 9.719 kB / 433 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3131, allocations: 34.94 kB / 433 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3134, allocations: 258.2 kB / 433.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3134, allocations: 15.25 kB / 433.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.3135, allocations: 26.92 kB / 433.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.3139, allocations: 211.2 kB / 433.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3139, allocations: 6.016 kB / 433.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3139, allocations: 5.938 kB / 433.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3139, allocations: 4.5 kB / 433.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.3143, allocations: 160.2 kB / 433.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.3152, allocations: 0.7675 MB / 434.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.3156, allocations: 143.7 kB / 434.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3157, allocations: 68.84 kB / 434.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3158, allocations: 1.062 kB / 434.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.3158, allocations: 46.19 kB / 434.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.3158, allocations: 3.562 kB / 434.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001625/0.3174, allocations: 0.9846 MB / 435.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.3174, allocations: 57.91 kB / 435.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3176, allocations: 215.7 kB / 435.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3176, allocations: 34.42 kB / 436 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.3177, allocations: 138.8 kB / 436.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.3177, allocations: 80.94 kB / 436.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.3178, allocations: 47.95 kB / 436.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.3178, allocations: 338.2 kB / 436.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.318, allocations: 67.38 kB / 436.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3181, allocations: 119.8 kB / 436.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3184, allocations: 154 kB / 436.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3184, allocations: 1.094 kB / 436.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000452/0.3189, allocations: 275.6 kB / 437.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3189, allocations: 5.906 kB / 437.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3189, allocations: 1.688 kB / 437.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.3191, allocations: 58.09 kB / 437.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3192, allocations: 39.19 kB / 437.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.3206, allocations: 1.819 MB / 439.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3208, allocations: 21.62 kB / 439.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3208, allocations: 13.25 kB / 439.1 MB, free: 4.957 MB / 350.1 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 (25): * Single equations (assignments): 24 * 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 9.382e-05/0.3209, allocations: 132.6 kB / 439.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.321, allocations: 17.72 kB / 439.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.321, allocations: 34.73 kB / 439.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.321, allocations: 7.094 kB / 439.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.321, allocations: 0 / 439.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.321, allocations: 1.781 kB / 439.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.3218, allocations: 0.6086 MB / 439.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3218, allocations: 0.5 kB / 439.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.322, allocations: 34.92 kB / 440 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.3221, allocations: 58.98 kB / 440 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3221, allocations: 3.844 kB / 440 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3233, allocations: 1.661 MB / 441.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3233, allocations: 2.109 kB / 441.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.3239, allocations: 429.7 kB / 442.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.324, allocations: 117 kB / 442.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3241, allocations: 7.281 kB / 442.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3242, allocations: 23.14 kB / 442.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3244, allocations: 70.64 kB / 442.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3244, allocations: 6.328 kB / 442.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.3245, allocations: 157.6 kB / 442.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3245, allocations: 0 / 442.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.3249, allocations: 69.16 kB / 442.5 MB, free: 2.359 MB / 350.1 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 (15): * Single equations (assignments): 14 * 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.001215/0.3261, allocations: 369.9 kB / 442.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.3267, allocations: 307.9 kB / 443.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3267, allocations: 0 / 443.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.327, allocations: 224 kB / 443.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3274, allocations: 43.64 kB / 443.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.3285, allocations: 0.7275 MB / 444.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.3287, allocations: 0.7445 MB / 444.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3288, allocations: 23.69 kB / 445 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3288, allocations: 0 / 445 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Templates: time 0.006898/0.3357, allocations: 4.041 MB / 449 MB, free: 288 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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: 7.713122247019783]