Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutch,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.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 180.5 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.587/1.587, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.001026/0.001026, allocations: 97.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002731, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2874, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.3929, allocations: 78.33 MB / 454.1 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.3932, allocations: 67.97 kB / 454.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.405, allocations: 4.082 MB / 458.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.4051, allocations: 0 / 458.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4051, allocations: 4 kB / 458.3 MB, free: 14.18 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008435/0.4059, allocations: 0.5431 MB / 458.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.406, allocations: 8.031 kB / 458.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.406, allocations: 27.72 kB / 458.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.4063, allocations: 218.7 kB / 459.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.4063, allocations: 19.95 kB / 459.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.4064, allocations: 19.91 kB / 459.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.4068, allocations: 243.1 kB / 459.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4069, allocations: 0 / 459.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.4069, allocations: 8 kB / 459.4 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4069, allocations: 4 kB / 459.4 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.4074, allocations: 203.8 kB / 459.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.4083, allocations: 0.6447 MB / 460.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.4088, allocations: 227.2 kB / 460.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4089, allocations: 11.97 kB / 460.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.4093, allocations: 173.2 kB / 460.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.4093, allocations: 0 / 460.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002387/0.4117, allocations: 1.242 MB / 461.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4118, allocations: 59.41 kB / 461.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4119, allocations: 153.8 kB / 462.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.412, allocations: 33.7 kB / 462.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.4121, allocations: 132.4 kB / 462.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.4121, allocations: 90.7 kB / 462.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.4122, allocations: 12 kB / 462.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4123, allocations: 330.8 kB / 462.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.4125, allocations: 104.3 kB / 462.8 MB, free: 9.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.4128, allocations: 156 kB / 462.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.4131, allocations: 131.1 kB / 463 MB, free: 9.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4131, allocations: 4 kB / 463 MB, free: 9.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008208/0.414, allocations: 401.8 kB / 463.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.414, allocations: 37.7 kB / 463.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.414, allocations: 0 / 463.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.4142, allocations: 64.81 kB / 463.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.4145, allocations: 59.91 kB / 463.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/0.4149, allocations: 0.6031 MB / 464.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.4152, allocations: 47.98 kB / 464.2 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.4152, allocations: 8 kB / 464.2 MB, free: 7.82 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: 11 ($whenCondition1,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,$PRE.signalEngagement.T_start,signalEngagement.T_start,$PRE.signalEngagement.count,signalEngagement.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0001477/0.4154, allocations: 145.8 kB / 464.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.4154, allocations: 23.72 kB / 464.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.4161, allocations: 337.7 kB / 464.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4161, allocations: 4 kB / 464.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4162, allocations: 3.984 kB / 464.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4162, allocations: 3.938 kB / 464.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4173, allocations: 0.699 MB / 465.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4173, allocations: 0 / 465.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.4175, allocations: 43.97 kB / 465.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.4177, allocations: 68.89 kB / 465.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.4177, allocations: 3.984 kB / 465.6 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004309/0.4182, allocations: 0.6082 MB / 466.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4182, allocations: 0 / 466.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009745/0.4192, allocations: 0.5465 MB / 466.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4193, allocations: 112.9 kB / 466.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.4193, allocations: 4 kB / 466.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.4196, allocations: 43.97 kB / 466.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.4197, allocations: 39.83 kB / 466.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4197, allocations: 15.98 kB / 466.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.4198, allocations: 127.5 kB / 467.1 MB, free: 4.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4198, allocations: 0 / 467.1 MB, free: 4.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.4202, allocations: 75.98 kB / 467.1 MB, free: 4.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (inertiaOut.phi,inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 7 ($whenCondition1,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,signalEngagement.T_start,signalEngagement.count) * Number of discrete states: 3 (signalEngagement.count,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000207/0.4204, allocations: 139.6 kB / 467.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007363/0.4212, allocations: 361.5 kB / 467.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4212, allocations: 8.062 kB / 467.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.4216, allocations: 159.7 kB / 467.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.4219, allocations: 38.27 kB / 467.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4232, allocations: 0.7984 MB / 468.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.4235, allocations: 0.7481 MB / 469.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.4236, allocations: 17.95 kB / 469.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.4237, allocations: 23.42 kB / 469.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4237, allocations: 0 / 469.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of Templates: time 0.006409/0.4301, allocations: 3.265 MB / 472.7 MB, free: 15.17 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches