Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001431/0.001431, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 95.98 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.236e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.471, allocations: 77.49 MB / 439.8 MB, free: 8.801 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4714, allocations: 63.97 kB / 439.9 MB, free: 8.738 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.4902, allocations: 3.928 MB / 443.8 MB, free: 4.852 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4902, allocations: 0 / 443.8 MB, free: 4.852 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.4902, allocations: 4 kB / 443.8 MB, free: 4.848 MB / 331.1 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.0009736/0.4912, allocations: 481.1 kB / 444.3 MB, free: 4.332 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4913, allocations: 9.672 kB / 444.3 MB, free: 4.324 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.4914, allocations: 23.72 kB / 444.3 MB, free: 4.301 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.4917, allocations: 223.4 kB / 444.5 MB, free: 4.043 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.4918, allocations: 13.55 kB / 444.5 MB, free: 4.031 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.4919, allocations: 16 kB / 444.6 MB, free: 4.016 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004298/0.4923, allocations: 132.8 kB / 444.7 MB, free: 3.887 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.4928, allocations: 182.4 kB / 444.9 MB, free: 3.695 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4928, allocations: 0 / 444.9 MB, free: 3.695 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.4929, allocations: 0 / 444.9 MB, free: 3.695 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.4929, allocations: 7.984 kB / 444.9 MB, free: 3.688 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.4947, allocations: 0.729 MB / 445.6 MB, free: 2.898 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.4952, allocations: 135.3 kB / 445.7 MB, free: 2.758 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.4954, allocations: 60.86 kB / 445.8 MB, free: 2.695 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.4955, allocations: 4 kB / 445.8 MB, free: 2.691 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4955, allocations: 34.56 kB / 445.8 MB, free: 2.648 MB / 331.1 MB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/0.4955, allocations: 0 / 445.8 MB, free: 2.648 MB / 331.1 MB Notification: Performance of matching and sorting (n=22): time 0.002147/0.4977, allocations: 0.7714 MB / 446.6 MB, free: 1.789 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4978, allocations: 55.41 kB / 446.7 MB, free: 1.723 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.498, allocations: 153.4 kB / 446.8 MB, free: 1.57 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.4981, allocations: 29.7 kB / 446.8 MB, free: 1.535 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4982, allocations: 198.8 kB / 447 MB, free: 1.34 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.4983, allocations: 74.91 kB / 447.1 MB, free: 1.266 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.4983, allocations: 0 / 447.1 MB, free: 1.266 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4985, allocations: 318.8 kB / 447.4 MB, free: 0.9453 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4987, allocations: 68.47 kB / 447.5 MB, free: 0.8789 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.499, allocations: 103.6 kB / 447.6 MB, free: 0.7617 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.4992, allocations: 62.08 kB / 447.6 MB, free: 0.7031 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4992, allocations: 0 / 447.6 MB, free: 0.7031 MB / 331.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006802/0.4999, allocations: 236.8 kB / 447.9 MB, free: 476 kB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5, allocations: 9.469 kB / 447.9 MB, free: 468 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.5, allocations: 4 kB / 447.9 MB, free: 464 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.5003, allocations: 56.83 kB / 447.9 MB, free: 404 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.5006, allocations: 43.92 kB / 448 MB, free: 360 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007744/0.5014, allocations: 0.6172 MB / 448.6 MB, free: 15.71 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.5018, allocations: 24.05 kB / 448.6 MB, free: 15.69 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.5018, allocations: 11.98 kB / 448.6 MB, free: 15.68 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001928/0.502, allocations: 119.4 kB / 448.8 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.5021, allocations: 20.59 kB / 448.8 MB, free: 15.54 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.5029, allocations: 235.3 kB / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.503, allocations: 4 kB / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.503, allocations: 0 / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.503, allocations: 0 / 449 MB, free: 15.3 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.5042, allocations: 0.5562 MB / 449.6 MB, free: 14.69 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.5042, allocations: 4 kB / 449.6 MB, free: 14.68 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.5046, allocations: 33.52 kB / 449.6 MB, free: 14.65 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.5049, allocations: 60.83 kB / 449.7 MB, free: 14.59 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.5049, allocations: 3.984 kB / 449.7 MB, free: 14.59 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006888/0.5056, allocations: 0.6148 MB / 450.3 MB, free: 13.95 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5056, allocations: 0 / 450.3 MB, free: 13.95 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008889/0.5065, allocations: 423.7 kB / 450.7 MB, free: 13.48 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.5067, allocations: 109.1 kB / 450.8 MB, free: 13.36 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.5068, allocations: 7.938 kB / 450.8 MB, free: 13.35 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.5071, allocations: 33.33 kB / 450.8 MB, free: 13.32 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5072, allocations: 23.95 kB / 450.9 MB, free: 13.3 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.5073, allocations: 11.98 kB / 450.9 MB, free: 13.29 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.5074, allocations: 119.8 kB / 451 MB, free: 13.17 MB / 347.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5075, allocations: 0 / 451 MB, free: 13.17 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.508, allocations: 56 kB / 451.1 MB, free: 13.11 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * 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.0002665/0.5082, allocations: 121.6 kB / 451.2 MB, free: 12.98 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0006531/0.5089, allocations: 205.5 kB / 451.4 MB, free: 12.78 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5089, allocations: 0 / 451.4 MB, free: 12.78 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.5093, allocations: 87.83 kB / 451.5 MB, free: 12.69 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.5097, allocations: 36.61 kB / 451.5 MB, free: 12.66 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.5115, allocations: 0.5787 MB / 452.1 MB, free: 12.05 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.5119, allocations: 0.7399 MB / 452.8 MB, free: 11.29 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.512, allocations: 19.44 kB / 452.8 MB, free: 11.27 MB / 347.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5121, allocations: 4 kB / 452.8 MB, free: 11.26 MB / 347.1 MB Notification: Performance of Templates: time 0.009056/0.5211, allocations: 3.298 MB / 456.1 MB, free: 8.012 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches