Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 208.3 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.4 MB / 250 MB, free: 8.984 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.83 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2547, allocations: 53.3 MB / 420.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003693/0.2584, allocations: 2.34 MB / 423 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2598, allocations: 0.8646 MB / 423.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2599, allocations: 4 kB / 423.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.2602, allocations: 51.58 kB / 423.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.2605, allocations: 107.2 kB / 424 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2607, allocations: 87.83 kB / 424.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.261, allocations: 271.4 kB / 424.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2612, allocations: 56.25 kB / 424.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.2614, allocations: 123.5 kB / 424.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.2616, allocations: 131.5 kB / 424.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.2616, allocations: 20 kB / 424.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2618, allocations: 83.91 kB / 424.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.2619, allocations: 47.84 kB / 424.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.262, allocations: 123.4 kB / 424.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.2624, allocations: 306.6 kB / 425.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2624, allocations: 4 kB / 425.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2624, allocations: 0 / 425.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2624, allocations: 0 / 425.2 MB, free: 3.75 MB / 334.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.0008673/0.2633, allocations: 0.5481 MB / 425.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2633, allocations: 15.97 kB / 425.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.2635, allocations: 32.78 kB / 425.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.2638, allocations: 252 kB / 426.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2639, allocations: 16.75 kB / 426.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.2639, allocations: 24.33 kB / 426.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.2643, allocations: 214.9 kB / 426.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.2643, allocations: 3.984 kB / 426.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2644, allocations: 12 kB / 426.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2644, allocations: 4 kB / 426.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.2647, allocations: 163 kB / 426.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2659, allocations: 0.7703 MB / 427.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.2663, allocations: 134.6 kB / 427.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2664, allocations: 69.02 kB / 427.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2664, allocations: 4.344 kB / 427.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2665, allocations: 38.5 kB / 427.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.2665, allocations: 0 / 427.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001967/0.2684, allocations: 0.9878 MB / 428.5 MB, free: 188 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2685, allocations: 55.41 kB / 428.5 MB, free: 120 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.2688, allocations: 226.8 kB / 428.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2688, allocations: 29.7 kB / 428.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2689, allocations: 140.4 kB / 428.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2689, allocations: 75.36 kB / 429 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2691, allocations: 49.7 kB / 429.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2692, allocations: 334.8 kB / 429.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2694, allocations: 67.97 kB / 429.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.2696, allocations: 111.4 kB / 429.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.2699, allocations: 163.2 kB / 429.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2699, allocations: 0 / 429.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005133/0.2704, allocations: 266.2 kB / 430 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2704, allocations: 18.8 kB / 430 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2704, allocations: 0 / 430 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.2706, allocations: 52.84 kB / 430 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2708, allocations: 35.97 kB / 430.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.2728, allocations: 1.833 MB / 431.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.273, allocations: 28.03 kB / 431.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.273, allocations: 4 kB / 431.9 MB, free: 12.51 MB / 350.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 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2731, allocations: 133.8 kB / 432.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.2732, allocations: 27.8 kB / 432.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.2733, allocations: 29.8 kB / 432.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2733, allocations: 0 / 432.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2733, allocations: 4 kB / 432.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2733, allocations: 4 kB / 432.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.2742, allocations: 0.6026 MB / 432.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2742, allocations: 4 kB / 432.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2744, allocations: 31.92 kB / 432.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.2746, allocations: 56.89 kB / 432.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.2746, allocations: 8 kB / 432.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.2763, allocations: 1.657 MB / 434.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2763, allocations: 0 / 434.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.277, allocations: 429.4 kB / 434.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2772, allocations: 113.1 kB / 435 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.2772, allocations: 11.98 kB / 435 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2774, allocations: 23.91 kB / 435.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.2775, allocations: 63.91 kB / 435.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2776, allocations: 12 kB / 435.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.2777, allocations: 160.6 kB / 435.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2777, allocations: 0 / 435.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.2781, allocations: 79.86 kB / 435.4 MB, free: 8.82 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.2794, allocations: 362.1 kB / 435.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.28, allocations: 302.5 kB / 436 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.28, allocations: 0 / 436 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.2804, allocations: 230.4 kB / 436.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2808, allocations: 46.5 kB / 436.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2822, allocations: 0.6913 MB / 437 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.2826, allocations: 0.744 MB / 437.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.759e-05/0.2827, allocations: 25.92 kB / 437.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.2827, allocations: 27.42 kB / 437.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2827, allocations: 0 / 437.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of Templates: time 0.009063/0.2918, allocations: 4.015 MB / 441.8 MB, free: 2.465 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches