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) 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) 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=4000,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=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002285/0.002285, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.956/1.956, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2798, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003686/0.2835, allocations: 2.321 MB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.285, allocations: 0.8567 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2852, allocations: 4 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.2855, allocations: 51.58 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.2858, allocations: 107.2 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.286, allocations: 83.83 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.2863, allocations: 275.4 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2865, allocations: 68.3 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.2867, allocations: 123.5 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.2869, allocations: 127.5 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.287, allocations: 20 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2871, allocations: 75.98 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.2872, allocations: 63.75 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.2873, allocations: 111.4 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.2877, allocations: 312.1 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2877, allocations: 0 / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2877, allocations: 0 / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.2877, allocations: 4 kB / 414.5 MB, free: 12.96 MB / 334.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.0008464/0.2886, allocations: 0.5379 MB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2886, allocations: 8.031 kB / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.2888, allocations: 36.64 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.2892, allocations: 251.9 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2892, allocations: 12.75 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.2893, allocations: 24.28 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.2897, allocations: 219 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2897, allocations: 0 / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.2897, allocations: 12 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.2897, allocations: 7.938 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2901, allocations: 163 kB / 415.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2912, allocations: 0.774 MB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.2916, allocations: 146.5 kB / 416.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2917, allocations: 65.02 kB / 416.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2917, allocations: 4 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.2918, allocations: 38.5 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.2918, allocations: 0 / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001829/0.2936, allocations: 1.003 MB / 417.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2937, allocations: 55.41 kB / 417.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.2939, allocations: 214.8 kB / 418 MB, free: 9.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.2939, allocations: 29.7 kB / 418.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.294, allocations: 144.2 kB / 418.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.2941, allocations: 70.91 kB / 418.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.2942, allocations: 57.69 kB / 418.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2943, allocations: 330.8 kB / 418.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2945, allocations: 67.97 kB / 418.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2947, allocations: 107.4 kB / 418.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.295, allocations: 159.3 kB / 419 MB, free: 8.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.295, allocations: 4 kB / 419 MB, free: 8.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004769/0.2954, allocations: 274 kB / 419.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2955, allocations: 4 kB / 419.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2955, allocations: 4 kB / 419.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.2957, allocations: 52.83 kB / 419.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2959, allocations: 35.98 kB / 419.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.2977, allocations: 1.814 MB / 421.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.2979, allocations: 20.02 kB / 421.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2979, allocations: 15.94 kB / 421.2 MB, free: 5.738 MB / 334.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 0.0001355/0.2981, allocations: 133.8 kB / 421.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2981, allocations: 23.81 kB / 421.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.2982, allocations: 25.88 kB / 421.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2982, allocations: 4 kB / 421.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2982, allocations: 0 / 421.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2982, allocations: 7.922 kB / 421.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.2992, allocations: 0.6143 MB / 422 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2992, allocations: 4 kB / 422 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2994, allocations: 31.92 kB / 422 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.2995, allocations: 60.95 kB / 422.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2996, allocations: 4 kB / 422.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.3011, allocations: 1.657 MB / 423.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3011, allocations: 0 / 423.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.3018, allocations: 432.7 kB / 424.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.302, allocations: 108.9 kB / 424.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.3021, allocations: 7.984 kB / 424.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.3024, allocations: 23.92 kB / 424.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.3026, allocations: 68 kB / 424.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3026, allocations: 4 kB / 424.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.3029, allocations: 160.6 kB / 424.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3029, allocations: 0 / 424.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000618/0.3035, allocations: 68 kB / 424.6 MB, free: 2.059 MB / 334.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.0008714/0.3044, allocations: 377.7 kB / 425 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.3051, allocations: 314.6 kB / 425.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3051, allocations: 8.062 kB / 425.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.3055, allocations: 226.5 kB / 425.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.3059, allocations: 39.91 kB / 425.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3074, allocations: 0.721 MB / 426.3 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3078, allocations: 0.7441 MB / 427 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.3078, allocations: 23.42 kB / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3079, allocations: 3.938 kB / 427.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Templates: time 0.006996/0.3149, allocations: 4.055 MB / 431.1 MB, free: 11.59 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches