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.001544/0.001544, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 92.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004575, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3357, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4627, allocations: 78.24 MB / 452.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.4631, allocations: 75.97 kB / 452.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.4816, allocations: 3.972 MB / 456.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4817, allocations: 0 / 456.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.4817, allocations: 4 kB / 456.8 MB, free: 14.48 MB / 346.7 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.00111/0.4828, allocations: 498.9 kB / 457.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.4829, allocations: 8.031 kB / 457.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.483, allocations: 27.72 kB / 457.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.4834, allocations: 232.2 kB / 457.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.4835, allocations: 16.39 kB / 457.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.4835, allocations: 20 kB / 457.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.4842, allocations: 213.7 kB / 457.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4842, allocations: 7.906 kB / 457.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.4843, allocations: 12 kB / 457.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.4843, allocations: 7.984 kB / 457.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.4849, allocations: 153 kB / 458 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.4868, allocations: 0.78 MB / 458.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.4874, allocations: 146.5 kB / 458.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.4875, allocations: 4 kB / 458.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4875, allocations: 38.56 kB / 459 MB, free: 12.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.777e-06/0.4875, allocations: 0 / 459 MB, free: 12.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.003204/0.4908, allocations: 1.048 MB / 460 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4909, allocations: 51.41 kB / 460.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.4911, allocations: 175.7 kB / 460.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.4912, allocations: 37.69 kB / 460.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4913, allocations: 194.7 kB / 460.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.4915, allocations: 74.94 kB / 460.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.4915, allocations: 8 kB / 460.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4917, allocations: 330.8 kB / 460.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.4919, allocations: 72.48 kB / 460.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.4923, allocations: 115.6 kB / 461 MB, free: 9.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4926, allocations: 77.16 kB / 461.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4926, allocations: 0 / 461.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000839/0.4934, allocations: 276.7 kB / 461.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4935, allocations: 11.94 kB / 461.4 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4935, allocations: 0 / 461.4 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.4939, allocations: 72.91 kB / 461.5 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.4942, allocations: 31.98 kB / 461.5 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007271/0.4949, allocations: 0.6109 MB / 462.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.4953, allocations: 36.06 kB / 462.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.4954, allocations: 8 kB / 462.2 MB, free: 8.77 MB / 346.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 (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.0002123/0.4956, allocations: 133.8 kB / 462.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.4957, allocations: 23.72 kB / 462.3 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/0.4967, allocations: 277 kB / 462.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4967, allocations: 0 / 462.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4967, allocations: 0 / 462.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4967, allocations: 4 kB / 462.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.4981, allocations: 0.6141 MB / 463.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4982, allocations: 0 / 463.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.4985, allocations: 35.92 kB / 463.2 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.4988, allocations: 64.77 kB / 463.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.4989, allocations: 8.094 kB / 463.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000658/0.4995, allocations: 0.6044 MB / 463.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.4995, allocations: 7.969 kB / 463.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5007, allocations: 472.4 kB / 464.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.5008, allocations: 112.9 kB / 464.5 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.5009, allocations: 8 kB / 464.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.5013, allocations: 27.97 kB / 464.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5014, allocations: 23.97 kB / 464.5 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.5014, allocations: 7.984 kB / 464.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.5016, allocations: 151.4 kB / 464.7 MB, free: 6.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5017, allocations: 0 / 464.7 MB, free: 6.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005398/0.5022, allocations: 68 kB / 464.8 MB, free: 5.973 MB / 346.7 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) * 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.0002679/0.5025, allocations: 127.1 kB / 464.9 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.5033, allocations: 230.2 kB / 465.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5033, allocations: 0 / 465.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.5038, allocations: 104 kB / 465.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.5042, allocations: 36.11 kB / 465.3 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.5065, allocations: 0.8625 MB / 466.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.5069, allocations: 0.7443 MB / 466.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.507, allocations: 19.44 kB / 466.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of SimCode: time 4.268e-06/0.507, allocations: 0 / 466.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of Templates: time 0.008428/0.5155, allocations: 3.373 MB / 470.2 MB, free: 416 kB / 346.7 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