Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008481/0.000848, allocations: 99.52 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 194 kB / 17.91 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002345, allocations: 8 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08717, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002383/0.08959, allocations: 1.952 MB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.09079, allocations: 0.8068 MB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.0909, allocations: 8 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.09112, allocations: 43.7 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.09134, allocations: 83.52 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.0915, allocations: 63.86 kB / 361.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.09176, allocations: 247.4 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.09191, allocations: 64.19 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.09211, allocations: 99.62 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.0923, allocations: 115.5 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.09234, allocations: 12 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.09248, allocations: 59.98 kB / 362.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.09255, allocations: 43.81 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.09261, allocations: 65.58 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.09286, allocations: 219.7 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.09287, allocations: 0 / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09288, allocations: 0 / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.09289, allocations: 4 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007051/0.0936, allocations: 0.5028 MB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.09364, allocations: 11.97 kB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.0938, allocations: 39.7 kB / 363.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.09409, allocations: 246.6 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.09412, allocations: 20.36 kB / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.09417, allocations: 24 kB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.09457, allocations: 214.4 kB / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.0946, allocations: 0 / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.09463, allocations: 8 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.09464, allocations: 4 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.09499, allocations: 163.2 kB / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.09612, allocations: 0.7781 MB / 364.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.09649, allocations: 138.6 kB / 364.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.09664, allocations: 73.02 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.09667, allocations: 8 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.0967, allocations: 38.5 kB / 364.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/0.09671, allocations: 3.984 kB / 364.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001778/0.09849, allocations: 1.015 MB / 365.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.09855, allocations: 59.34 kB / 365.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.09879, allocations: 222.8 kB / 366 MB, free: 5.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.09882, allocations: 29.7 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.09891, allocations: 144.2 kB / 366.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.09898, allocations: 71 kB / 366.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.099, allocations: 8 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.09912, allocations: 330.8 kB / 366.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.09928, allocations: 67.97 kB / 366.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.09946, allocations: 107.4 kB / 366.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.09962, allocations: 77.02 kB / 366.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.09963, allocations: 0 / 366.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000466/0.1001, allocations: 270.7 kB / 367.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1001, allocations: 4 kB / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1001, allocations: 8.062 kB / 367.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.1004, allocations: 48.83 kB / 367.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1006, allocations: 51.86 kB / 367.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.1024, allocations: 1.646 MB / 368.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1026, allocations: 27.89 kB / 368.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1026, allocations: 11.98 kB / 368.9 MB, free: 2.852 MB / 302.1 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 (25): * Single equations (assignments): 24 * 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 prepare postOptimizeDAE: time 0.0001335/0.1027, allocations: 137.8 kB / 369.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1028, allocations: 19.83 kB / 369.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.1028, allocations: 25.88 kB / 369.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1029, allocations: 12.02 kB / 369.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1029, allocations: 3.938 kB / 369.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1029, allocations: 0 / 369.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.1037, allocations: 0.6217 MB / 369.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1037, allocations: 0 / 369.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1039, allocations: 31.98 kB / 369.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.1041, allocations: 52.83 kB / 369.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1041, allocations: 11.98 kB / 369.8 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.1055, allocations: 1.551 MB / 371.4 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1055, allocations: 3.953 kB / 371.4 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1567/0.2621, allocations: 418.4 kB / 371.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2623, allocations: 115.4 kB / 371.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.2624, allocations: 9.047 kB / 371.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2626, allocations: 26.58 kB / 371.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.2628, allocations: 71.06 kB / 372 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.2628, allocations: 9.156 kB / 372 MB, free: 18.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.263, allocations: 156.8 kB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.263, allocations: 2.781 kB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.2635, allocations: 73.31 kB / 372.2 MB, free: 18.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000794/0.2643, allocations: 360.6 kB / 372.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.2649, allocations: 320.3 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2649, allocations: 3.719 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.2652, allocations: 231.1 kB / 373.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2657, allocations: 47.03 kB / 373.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.267, allocations: 0.8365 MB / 374 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2672, allocations: 0.7455 MB / 374.8 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2674, allocations: 26.44 kB / 374.8 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.2674, allocations: 24.92 kB / 374.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2674, allocations: 1.094 kB / 374.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of Templates: time 0.007649/0.2751, allocations: 3.448 MB / 378.3 MB, free: 17.01 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches