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.001393/0.001393, allocations: 184.1 kB / 18.04 MB, free: 3.754 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.289/1.289, allocations: 205.4 MB / 224.2 MB, free: 8.938 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.0007218/0.0007218, allocations: 92.69 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002841, allocations: 11.98 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 47.58 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08565/0.2842, allocations: 78.28 MB / 455.3 MB, free: 2.254 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.2845, allocations: 67.97 kB / 455.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0114/0.2959, allocations: 3.977 MB / 459.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2959, allocations: 0 / 459.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.2959, allocations: 4 kB / 459.4 MB, free: 14.21 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.0006791/0.2966, allocations: 0.4913 MB / 459.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2967, allocations: 12.02 kB / 459.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.2967, allocations: 24.66 kB / 459.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.297, allocations: 225.7 kB / 460.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.297, allocations: 20.81 kB / 460.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.297, allocations: 16.38 kB / 460.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.2974, allocations: 222.2 kB / 460.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2974, allocations: 8.094 kB / 460.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2975, allocations: 11.94 kB / 460.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2975, allocations: 7.984 kB / 460.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.2978, allocations: 153 kB / 460.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.299, allocations: 0.7836 MB / 461.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.2993, allocations: 150.5 kB / 461.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2995, allocations: 72.83 kB / 461.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.2995, allocations: 8 kB / 461.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2995, allocations: 34.55 kB / 461.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.2996, allocations: 0 / 461.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001892/0.3014, allocations: 1.034 MB / 462.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3015, allocations: 55.41 kB / 462.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3017, allocations: 200.6 kB / 462.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3017, allocations: 29.7 kB / 462.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.3018, allocations: 136.2 kB / 463 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.3019, allocations: 74.94 kB / 463.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.3019, allocations: 4 kB / 463.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.302, allocations: 338.8 kB / 463.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3022, allocations: 68.5 kB / 463.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.3024, allocations: 123.5 kB / 463.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.3027, allocations: 168.7 kB / 463.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3027, allocations: 0 / 463.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004846/0.3032, allocations: 288.4 kB / 464.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3032, allocations: 4 kB / 464.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3032, allocations: 7.938 kB / 464.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.3035, allocations: 68.8 kB / 464.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3036, allocations: 39.98 kB / 464.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004756/0.3041, allocations: 0.6083 MB / 464.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3043, allocations: 27.97 kB / 464.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.3043, allocations: 12.06 kB / 464.8 MB, free: 8.336 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.0001402/0.3045, allocations: 138.3 kB / 465 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3046, allocations: 27.78 kB / 465 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.3051, allocations: 265 kB / 465.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3051, allocations: 7.984 kB / 465.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3051, allocations: 0 / 465.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3052, allocations: 0 / 465.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.306, allocations: 0.6263 MB / 465.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.306, allocations: 0 / 465.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3062, allocations: 31.98 kB / 465.9 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.3064, allocations: 60.81 kB / 466 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3064, allocations: 8 kB / 466 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/0.3069, allocations: 0.607 MB / 466.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3069, allocations: 0 / 466.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.3075, allocations: 436 kB / 467 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3076, allocations: 112.8 kB / 467.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3077, allocations: 4 kB / 467.1 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3078, allocations: 27.97 kB / 467.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.3079, allocations: 27.97 kB / 467.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3079, allocations: 11.98 kB / 467.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3081, allocations: 139 kB / 467.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3081, allocations: 0 / 467.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.3085, allocations: 75.88 kB / 467.4 MB, free: 5.59 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.0001895/0.3087, allocations: 135.1 kB / 467.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.3092, allocations: 226.3 kB / 467.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3092, allocations: 0 / 467.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.3094, allocations: 103.9 kB / 467.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.3099, allocations: 32.23 kB / 467.9 MB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3112, allocations: 0.8344 MB / 468.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3115, allocations: 0.7365 MB / 469.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.3116, allocations: 25.94 kB / 469.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.3117, allocations: 15.44 kB / 469.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3117, allocations: 0 / 469.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of Templates: time 0.006033/0.3177, allocations: 2.802 MB / 472.3 MB, free: 0.625 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/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_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches