Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 181.2 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 98.23 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002494, allocations: 8 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.3455, allocations: 79.11 MB / 480.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3458, allocations: 75.95 kB / 480.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.3579, allocations: 4.052 MB / 484.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.358, allocations: 0 / 484.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.358, allocations: 4 kB / 484.7 MB, free: 13.27 MB / 362.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.000862/0.3589, allocations: 0.4911 MB / 485.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3589, allocations: 8.031 kB / 485.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.359, allocations: 23.72 kB / 485.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.3594, allocations: 222.8 kB / 485.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3594, allocations: 12.44 kB / 485.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.3595, allocations: 24 kB / 485.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.36, allocations: 223.1 kB / 485.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.36, allocations: 7.906 kB / 485.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.36, allocations: 11.95 kB / 485.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.36, allocations: 4 kB / 485.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.3604, allocations: 153 kB / 485.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3617, allocations: 0.78 MB / 486.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.3621, allocations: 146.5 kB / 486.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3621, allocations: 8 kB / 486.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3622, allocations: 34.56 kB / 486.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.967e-06/0.3622, allocations: 0 / 486.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.002193/0.3644, allocations: 1.052 MB / 487.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3644, allocations: 55.41 kB / 488 MB, free: 9.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.3647, allocations: 161.6 kB / 488.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3647, allocations: 29.7 kB / 488.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.3648, allocations: 144.2 kB / 488.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.3649, allocations: 71 kB / 488.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.3649, allocations: 4 kB / 488.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3651, allocations: 326.8 kB / 488.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3652, allocations: 79.95 kB / 488.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3654, allocations: 108.2 kB / 488.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3656, allocations: 78.73 kB / 488.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3656, allocations: 0 / 488.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004969/0.3661, allocations: 284.7 kB / 489.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3662, allocations: 7.953 kB / 489.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3662, allocations: 8.062 kB / 489.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.3664, allocations: 64.8 kB / 489.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.3666, allocations: 39.92 kB / 489.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005087/0.3671, allocations: 0.5992 MB / 489.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.3673, allocations: 40 kB / 490 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3674, allocations: 15.94 kB / 490 MB, free: 7.613 MB / 362.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.0001448/0.3675, allocations: 136.7 kB / 490.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.3676, allocations: 19.8 kB / 490.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.3682, allocations: 271.6 kB / 490.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3682, allocations: 7.953 kB / 490.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3682, allocations: 3.938 kB / 490.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3682, allocations: 0 / 490.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.3692, allocations: 0.6186 MB / 491 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3692, allocations: 0 / 491 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3694, allocations: 27.98 kB / 491.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.3696, allocations: 68.91 kB / 491.1 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3696, allocations: 4 kB / 491.1 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004492/0.37, allocations: 0.6109 MB / 491.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3701, allocations: 160 / 491.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.3707, allocations: 459.7 kB / 492.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3708, allocations: 112.9 kB / 492.3 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.3709, allocations: 15.95 kB / 492.3 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3711, allocations: 31.97 kB / 492.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.3712, allocations: 23.95 kB / 492.4 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3713, allocations: 8 kB / 492.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3714, allocations: 148.1 kB / 492.5 MB, free: 4.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3714, allocations: 0 / 492.5 MB, free: 4.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.3718, allocations: 67.94 kB / 492.6 MB, free: 4.82 MB / 362.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.0002292/0.372, allocations: 123.8 kB / 492.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.3726, allocations: 221.5 kB / 492.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3726, allocations: 8.062 kB / 492.9 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.3729, allocations: 103.9 kB / 493 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3733, allocations: 35.91 kB / 493.1 MB, free: 4.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3747, allocations: 0.8335 MB / 493.9 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.375, allocations: 0.7482 MB / 494.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.3751, allocations: 17.95 kB / 494.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.3752, allocations: 15.44 kB / 494.7 MB, free: 2.648 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3752, allocations: 0 / 494.7 MB, free: 2.648 MB / 362.7 MB Notification: Performance of Templates: time 0.006648/0.3819, allocations: 2.783 MB / 497.5 MB, free: 15.89 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches