Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001298/0.001298, allocations: 180.1 kB / 17.01 MB, free: 5.125 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.558/1.558, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.0008328/0.000833, allocations: 97.09 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002719, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2878, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3927, allocations: 78.24 MB / 454 MB, free: 2.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.393, allocations: 67.97 kB / 454.1 MB, free: 2.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.4044, allocations: 3.969 MB / 458.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4044, allocations: 4 kB / 458.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4045, allocations: 4 kB / 458.1 MB, free: 14.38 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.0007362/0.4052, allocations: 498.9 kB / 458.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.041e-05/0.4053, allocations: 12.03 kB / 458.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.4054, allocations: 27.72 kB / 458.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.4057, allocations: 228.4 kB / 458.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4057, allocations: 16.39 kB / 458.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.4058, allocations: 24 kB / 458.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.4062, allocations: 209.7 kB / 459.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4062, allocations: 7.906 kB / 459.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.4062, allocations: 8 kB / 459.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4063, allocations: 7.984 kB / 459.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.4066, allocations: 165 kB / 459.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4078, allocations: 0.7723 MB / 460 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.4082, allocations: 146.9 kB / 460.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.4083, allocations: 4 kB / 460.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4083, allocations: 34.56 kB / 460.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.414e-06/0.4083, allocations: 0 / 460.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001941/0.4102, allocations: 1.052 MB / 461.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4103, allocations: 55.41 kB / 461.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.4105, allocations: 179.8 kB / 461.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.4105, allocations: 29.7 kB / 461.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.4106, allocations: 132.2 kB / 461.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.4107, allocations: 82.92 kB / 461.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.4107, allocations: 4 kB / 461.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4109, allocations: 334.8 kB / 462.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4111, allocations: 76.5 kB / 462.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.4112, allocations: 115.6 kB / 462.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4114, allocations: 73.14 kB / 462.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4114, allocations: 4 kB / 462.3 MB, free: 9.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004701/0.4119, allocations: 280.7 kB / 462.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4119, allocations: 7.938 kB / 462.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.412, allocations: 7.938 kB / 462.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.4122, allocations: 64.84 kB / 462.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4124, allocations: 44.05 kB / 462.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005305/0.4129, allocations: 0.6147 MB / 463.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.4131, allocations: 28.02 kB / 463.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4131, allocations: 12.06 kB / 463.4 MB, free: 8.699 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.00016/0.4133, allocations: 141.8 kB / 463.5 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.4134, allocations: 15.81 kB / 463.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.4139, allocations: 261 kB / 463.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.414, allocations: 8 kB / 463.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.414, allocations: 0 / 463.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.414, allocations: 0 / 463.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.4148, allocations: 0.6195 MB / 464.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4148, allocations: 0 / 464.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.415, allocations: 35.91 kB / 464.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.4152, allocations: 64.78 kB / 464.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.4152, allocations: 15.98 kB / 464.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004394/0.4157, allocations: 0.6007 MB / 465.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4157, allocations: 0 / 465.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.4163, allocations: 476.1 kB / 465.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.4164, allocations: 105 kB / 465.7 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.4165, allocations: 11.98 kB / 465.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.4166, allocations: 27.98 kB / 465.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.4167, allocations: 31.8 kB / 465.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4168, allocations: 8 kB / 465.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4169, allocations: 147.7 kB / 465.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4169, allocations: 0 / 465.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.4173, allocations: 68 kB / 466 MB, free: 5.906 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.0001973/0.4175, allocations: 131.1 kB / 466.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.418, allocations: 226.2 kB / 466.3 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.418, allocations: 0 / 466.3 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.4182, allocations: 105.6 kB / 466.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4185, allocations: 38.09 kB / 466.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.4199, allocations: 0.8253 MB / 467.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.4202, allocations: 0.7443 MB / 468.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.984e-05/0.4203, allocations: 13.95 kB / 468.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.4204, allocations: 19.42 kB / 468.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4204, allocations: 3.938 kB / 468.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of Templates: time 0.005874/0.4263, allocations: 2.784 MB / 470.9 MB, free: 0.9648 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches