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.0009276/0.000928, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.5 MB / 230.3 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.000856, allocations: 91.09 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.946e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.43 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4622, allocations: 78.36 MB / 465.8 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4624, allocations: 71.97 kB / 465.9 MB, free: 428 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.4743, allocations: 4.002 MB / 469.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4744, allocations: 4 kB / 469.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.4744, allocations: 4 kB / 469.9 MB, free: 12.42 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.0006707/0.4751, allocations: 478.9 kB / 470.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4751, allocations: 12.03 kB / 470.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.4752, allocations: 27.72 kB / 470.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.4755, allocations: 222.6 kB / 470.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4755, allocations: 8 kB / 470.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.4755, allocations: 15.98 kB / 470.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002626/0.4758, allocations: 128.8 kB / 470.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.4761, allocations: 184.8 kB / 471 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4761, allocations: 3.938 kB / 471 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.4762, allocations: 0 / 471 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4762, allocations: 11.98 kB / 471 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.4774, allocations: 0.7252 MB / 471.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.4777, allocations: 138.4 kB / 471.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.4778, allocations: 60.86 kB / 471.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.4779, allocations: 0 / 471.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.4779, allocations: 42.48 kB / 471.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.4779, allocations: 0 / 471.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001433/0.4794, allocations: 0.7625 MB / 472.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4794, allocations: 55.41 kB / 472.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4795, allocations: 142.8 kB / 472.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.4796, allocations: 33.7 kB / 472.9 MB, free: 9.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.4797, allocations: 132.4 kB / 473.1 MB, free: 8.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.4797, allocations: 78.91 kB / 473.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.4797, allocations: 0 / 473.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4799, allocations: 330.8 kB / 473.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.48, allocations: 60 kB / 473.5 MB, free: 8.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.4801, allocations: 95.64 kB / 473.6 MB, free: 8.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4803, allocations: 65.08 kB / 473.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4803, allocations: 4 kB / 473.7 MB, free: 8.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000392/0.4807, allocations: 240.8 kB / 473.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4807, allocations: 4 kB / 473.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4808, allocations: 0 / 473.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.481, allocations: 68.86 kB / 474 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4812, allocations: 43.86 kB / 474 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006317/0.4818, allocations: 0.6227 MB / 474.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.482, allocations: 27.91 kB / 474.7 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.482, allocations: 12 kB / 474.7 MB, free: 7.281 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" type: Real 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.0001681/0.4822, allocations: 118.7 kB / 474.8 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.4823, allocations: 19.77 kB / 474.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.4828, allocations: 231.5 kB / 475 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4828, allocations: 4 kB / 475 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4828, allocations: 0 / 475 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4828, allocations: 7.938 kB / 475.1 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.4836, allocations: 0.5425 MB / 475.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4836, allocations: 4 kB / 475.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.4838, allocations: 31.92 kB / 475.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.4839, allocations: 60.92 kB / 475.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.484, allocations: 7.984 kB / 475.7 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000512/0.4845, allocations: 0.607 MB / 476.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.4845, allocations: 8.141 kB / 476.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.4851, allocations: 423.7 kB / 476.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4852, allocations: 104.9 kB / 476.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4853, allocations: 0 / 476.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.4855, allocations: 27.97 kB / 476.9 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.4856, allocations: 27.92 kB / 476.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.4857, allocations: 15.98 kB / 476.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.4858, allocations: 119.2 kB / 477 MB, free: 4.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4858, allocations: 3.938 kB / 477 MB, free: 4.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000378/0.4862, allocations: 60 kB / 477.1 MB, free: 4.719 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) * 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.0002489/0.4864, allocations: 127.2 kB / 477.2 MB, free: 4.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.4869, allocations: 197.8 kB / 477.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4869, allocations: 0 / 477.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4871, allocations: 99.78 kB / 477.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.4874, allocations: 32.45 kB / 477.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4886, allocations: 0.5467 MB / 478.1 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4889, allocations: 0.7438 MB / 478.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.654e-05/0.489, allocations: 14.08 kB / 478.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.489, allocations: 15.44 kB / 478.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4891, allocations: 4 kB / 478.9 MB, free: 2.875 MB / 346.7 MB Notification: Performance of Templates: time 0.006008/0.4951, allocations: 2.598 MB / 481.4 MB, free: 308 kB / 346.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