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.00105/0.00105, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.611/1.611, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000816/0.0008161, allocations: 70.73 kB / 267.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.091e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.5504, allocations: 78.14 MB / 448.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5507, allocations: 66.72 kB / 448.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.5623, allocations: 3.957 MB / 452.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5623, allocations: 0 / 452.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.5624, allocations: 4 kB / 452.2 MB, free: 11.74 MB / 330.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.0006774/0.5631, allocations: 478.4 kB / 452.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.5631, allocations: 8.031 kB / 452.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.5632, allocations: 27.72 kB / 452.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5635, allocations: 226.2 kB / 452.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.5636, allocations: 19.08 kB / 452.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.5636, allocations: 18.69 kB / 452.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.564, allocations: 212.2 kB / 453.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5641, allocations: 0 / 453.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.5641, allocations: 10.31 kB / 453.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.5641, allocations: 4 kB / 453.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.5644, allocations: 146.7 kB / 453.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.5657, allocations: 0.7789 MB / 454.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.5661, allocations: 144.9 kB / 454.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.5663, allocations: 67.61 kB / 454.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.5664, allocations: 4 kB / 454.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5664, allocations: 30.56 kB / 454.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.5664, allocations: 0 / 454.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001665/0.5681, allocations: 0.8209 MB / 455.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.5681, allocations: 51.41 kB / 455.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.5683, allocations: 171.4 kB / 455.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.5684, allocations: 33.33 kB / 455.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.5684, allocations: 134.6 kB / 455.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.5685, allocations: 77.91 kB / 455.6 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.5685, allocations: 7.562 kB / 455.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5687, allocations: 334.1 kB / 455.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.5688, allocations: 66.16 kB / 456 MB, free: 8.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.569, allocations: 108.6 kB / 456.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.5691, allocations: 76 kB / 456.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5691, allocations: 0 / 456.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003895/0.5695, allocations: 257.7 kB / 456.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5695, allocations: 8 kB / 456.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.5696, allocations: 0 / 456.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.5698, allocations: 70.5 kB / 456.5 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.57, allocations: 39.48 kB / 456.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005878/0.5706, allocations: 0.6107 MB / 457.2 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.5707, allocations: 27.5 kB / 457.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.5708, allocations: 15.48 kB / 457.2 MB, free: 7.055 MB / 330.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 () * 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.0001002/0.5709, allocations: 119.5 kB / 457.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.5709, allocations: 19.72 kB / 457.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.5715, allocations: 258.7 kB / 457.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5715, allocations: 0 / 457.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5715, allocations: 0 / 457.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5715, allocations: 3.938 kB / 457.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.5723, allocations: 0.6132 MB / 458.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5723, allocations: 0 / 458.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.5725, allocations: 31.98 kB / 458.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001511/0.5727, allocations: 74.5 kB / 458.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.5727, allocations: 7.984 kB / 458.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004109/0.5731, allocations: 0.604 MB / 458.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5731, allocations: 0 / 458.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.5737, allocations: 447.8 kB / 459.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5738, allocations: 105 kB / 459.5 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.5739, allocations: 7.984 kB / 459.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.574, allocations: 31.98 kB / 459.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.5741, allocations: 31.89 kB / 459.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.5742, allocations: 4 kB / 459.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.5743, allocations: 143.7 kB / 459.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5743, allocations: 0 / 459.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.5746, allocations: 75.94 kB / 459.8 MB, free: 4.621 MB / 330.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) * 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.0002049/0.5748, allocations: 119.2 kB / 459.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.5753, allocations: 214.2 kB / 460.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5753, allocations: 0 / 460.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.5755, allocations: 91.92 kB / 460.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5758, allocations: 40.23 kB / 460.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.577, allocations: 0.5562 MB / 460.8 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.5774, allocations: 0.7519 MB / 461.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.68e-05/0.5775, allocations: 22 kB / 461.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.5776, allocations: 23.44 kB / 461.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5776, allocations: 0 / 461.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of Templates: time 0.006239/0.5838, allocations: 2.764 MB / 464.3 MB, free: 15.97 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