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/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.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/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007532/0.0007532, allocations: 99.05 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002122/0.0002122, allocations: 4 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1961, allocations: 51.28 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0937/0.2898, allocations: 80.76 MB / 490.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.29, allocations: 67.97 kB / 490.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.3054, allocations: 5.658 MB / 495.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3054, allocations: 0 / 495.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.3054, allocations: 7.984 kB / 495.9 MB, free: 5.055 MB / 362.7 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.0007602/0.3062, allocations: 0.5107 MB / 496.4 MB, free: 4.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3063, allocations: 8.031 kB / 496.4 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3064, allocations: 36.66 kB / 496.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.3068, allocations: 247.7 kB / 496.7 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3068, allocations: 20.75 kB / 496.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.3069, allocations: 20.38 kB / 496.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.3073, allocations: 218.9 kB / 496.9 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3073, allocations: 192 / 496.9 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3073, allocations: 15.92 kB / 496.9 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3074, allocations: 4 kB / 496.9 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.3077, allocations: 163.2 kB / 497.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3087, allocations: 0.7779 MB / 497.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.3091, allocations: 146.8 kB / 498 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3093, allocations: 68.84 kB / 498.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3093, allocations: 4 kB / 498.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3093, allocations: 46.48 kB / 498.1 MB, free: 2.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.625e-06/0.3093, allocations: 0 / 498.1 MB, free: 2.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001835/0.3112, allocations: 1.019 MB / 499.1 MB, free: 1.473 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3112, allocations: 55.41 kB / 499.2 MB, free: 1.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.3115, allocations: 212.8 kB / 499.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3115, allocations: 29.7 kB / 499.4 MB, free: 1.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.3116, allocations: 136.2 kB / 499.6 MB, free: 1.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.3116, allocations: 74.98 kB / 499.6 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.3117, allocations: 12 kB / 499.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3118, allocations: 326.8 kB / 500 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3119, allocations: 67.97 kB / 0.4883 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3121, allocations: 107.4 kB / 0.4884 GB, free: 424 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.3124, allocations: 167.3 kB / 0.4886 GB, free: 244 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3124, allocations: 0 / 0.4886 GB, free: 244 kB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005073/0.3129, allocations: 270 kB / 0.4888 GB, free: 15.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.313, allocations: 16 kB / 0.4889 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.313, allocations: 0 / 0.4889 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.3132, allocations: 56.83 kB / 0.4889 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3133, allocations: 35.92 kB / 0.4889 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.315, allocations: 1.644 MB / 0.4906 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.3152, allocations: 35.91 kB / 0.4906 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.3152, allocations: 8 kB / 0.4906 GB, free: 14.04 MB / 378.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 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.3154, allocations: 137.8 kB / 0.4907 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3154, allocations: 15.81 kB / 0.4907 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3155, allocations: 29.86 kB / 0.4908 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3155, allocations: 0 / 0.4908 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3155, allocations: 0 / 0.4908 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3155, allocations: 3.938 kB / 0.4908 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.3164, allocations: 0.6217 MB / 0.4914 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3164, allocations: 3.938 kB / 0.4914 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3166, allocations: 31.92 kB / 0.4914 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.3167, allocations: 60.81 kB / 0.4915 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3167, allocations: 4 kB / 0.4915 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.3181, allocations: 1.562 MB / 0.493 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3181, allocations: 0 / 0.493 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.3188, allocations: 426.3 kB / 0.4934 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3189, allocations: 116.8 kB / 0.4935 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3189, allocations: 11.94 kB / 0.4935 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3191, allocations: 19.98 kB / 0.4935 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3193, allocations: 75.88 kB / 0.4936 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3193, allocations: 7.984 kB / 0.4936 GB, free: 10.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.3194, allocations: 156.5 kB / 0.4938 GB, free: 10.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3194, allocations: 0 / 0.4938 GB, free: 10.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.3198, allocations: 76 kB / 0.4939 GB, free: 10.45 MB / 378.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008263/0.3207, allocations: 376.3 kB / 0.4942 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.3212, allocations: 329.1 kB / 0.4945 GB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3213, allocations: 8.062 kB / 0.4945 GB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.3216, allocations: 222.6 kB / 0.4947 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.322, allocations: 37.39 kB / 0.4948 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3233, allocations: 0.8447 MB / 0.4956 GB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3236, allocations: 0.7482 MB / 0.4963 GB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3237, allocations: 29.94 kB / 0.4964 GB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3237, allocations: 19.42 kB / 0.4964 GB, free: 7.883 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3238, allocations: 4 kB / 0.4964 GB, free: 7.879 MB / 378.7 MB Notification: Performance of Templates: time 0.006969/0.3307, allocations: 3.493 MB / 0.4998 GB, free: 4.41 MB / 378.7 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","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches