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.001216/0.001216, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.52/1.52, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007296/0.0007296, allocations: 101 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003301, allocations: 11.98 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09353/0.3375, allocations: 78.29 MB / 454 MB, free: 2.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.3379, allocations: 71.97 kB / 454.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01124/0.3491, allocations: 3.973 MB / 458 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3491, allocations: 3.938 kB / 458.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.3492, allocations: 4 kB / 458.1 MB, free: 14.29 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.0007506/0.3499, allocations: 0.4913 MB / 458.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.35, allocations: 8.031 kB / 458.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.3501, allocations: 28.64 kB / 458.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3504, allocations: 225.5 kB / 458.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3504, allocations: 16.81 kB / 458.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.3505, allocations: 20.38 kB / 458.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.3509, allocations: 218.2 kB / 459.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.3509, allocations: 8.094 kB / 459.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.351, allocations: 15.94 kB / 459.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.351, allocations: 4 kB / 459.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.3513, allocations: 157 kB / 459.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.3526, allocations: 0.7836 MB / 460 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.3529, allocations: 146.5 kB / 460.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3531, allocations: 76.83 kB / 460.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.3531, allocations: 4 kB / 460.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3532, allocations: 38.55 kB / 460.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/0.3532, allocations: 0 / 460.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002313/0.3555, allocations: 1.037 MB / 461.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3556, allocations: 55.41 kB / 461.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3558, allocations: 196.6 kB / 461.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3558, allocations: 29.7 kB / 461.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.3559, allocations: 140.2 kB / 461.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.356, allocations: 74.94 kB / 461.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.356, allocations: 4 kB / 461.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3562, allocations: 338.8 kB / 462.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.3563, allocations: 68.5 kB / 462.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3565, allocations: 119.5 kB / 462.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.3569, allocations: 172.7 kB / 462.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3569, allocations: 0 / 462.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005131/0.3574, allocations: 288.4 kB / 462.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3574, allocations: 4 kB / 462.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3575, allocations: 4 kB / 462.8 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.3577, allocations: 64.81 kB / 462.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3579, allocations: 35.92 kB / 462.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005335/0.3584, allocations: 0.6161 MB / 463.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3586, allocations: 27.97 kB / 463.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3586, allocations: 12 kB / 463.5 MB, free: 8.422 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.0001385/0.3588, allocations: 143.2 kB / 463.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.3588, allocations: 19.75 kB / 463.7 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.3594, allocations: 269 kB / 464 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3595, allocations: 3.984 kB / 464 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3595, allocations: 0 / 464 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3595, allocations: 48 / 464 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.3604, allocations: 0.6263 MB / 464.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3604, allocations: 0 / 464.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3606, allocations: 40.08 kB / 464.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.3607, allocations: 60.81 kB / 464.7 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3608, allocations: 4 kB / 464.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004692/0.3612, allocations: 0.6069 MB / 465.3 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3613, allocations: 0 / 465.3 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.3619, allocations: 439.4 kB / 465.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.362, allocations: 112.8 kB / 465.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.3621, allocations: 0 / 465.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3623, allocations: 27.98 kB / 465.9 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.3624, allocations: 27.95 kB / 465.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3624, allocations: 7.984 kB / 465.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3626, allocations: 151.4 kB / 466 MB, free: 5.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3626, allocations: 0 / 466 MB, free: 5.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003533/0.3629, allocations: 71.94 kB / 466.1 MB, free: 5.672 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.0002109/0.3631, allocations: 139 kB / 466.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.3637, allocations: 222.4 kB / 466.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3637, allocations: 0 / 466.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3639, allocations: 107.8 kB / 466.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3644, allocations: 31.98 kB / 466.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3658, allocations: 0.8547 MB / 467.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3662, allocations: 0.7443 MB / 468.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.3662, allocations: 19.44 kB / 468.2 MB, free: 3.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3662, allocations: 3.938 kB / 468.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of Templates: time 0.006177/0.3724, allocations: 3.448 MB / 471.7 MB, free: 32 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