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: 179.5 kB / 18.04 MB, free: 3.668 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.344/1.344, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.000716/0.0007161, allocations: 92.84 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003788, allocations: 12 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2074, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08615/0.2936, allocations: 78.38 MB / 455.4 MB, free: 2.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.2938, allocations: 75.95 kB / 455.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.306, allocations: 4.09 MB / 459.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.306, allocations: 0 / 459.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.306, allocations: 4 kB / 459.6 MB, free: 14.01 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.0008613/0.3069, allocations: 0.5434 MB / 460.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3069, allocations: 8.031 kB / 460.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.307, allocations: 28.66 kB / 460.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3073, allocations: 231.9 kB / 460.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3073, allocations: 16.38 kB / 460.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.3074, allocations: 20.36 kB / 460.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3079, allocations: 235.8 kB / 460.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3079, allocations: 4.188 kB / 460.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.3079, allocations: 15.94 kB / 460.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.308, allocations: 4 kB / 460.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.3084, allocations: 199.8 kB / 460.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3095, allocations: 0.6486 MB / 461.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.31, allocations: 215.3 kB / 461.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.3103, allocations: 117.7 kB / 461.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3103, allocations: 8.375 kB / 461.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.3107, allocations: 175.9 kB / 462 MB, free: 11.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.3107, allocations: 0 / 462 MB, free: 11.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002469/0.3132, allocations: 1.238 MB / 463.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3133, allocations: 59.39 kB / 463.3 MB, free: 9.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3134, allocations: 170.7 kB / 463.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3135, allocations: 33.7 kB / 463.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.3136, allocations: 140.3 kB / 463.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.3136, allocations: 86.81 kB / 463.7 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.3137, allocations: 4 kB / 463.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3138, allocations: 334.8 kB / 464.1 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.3141, allocations: 108.3 kB / 464.2 MB, free: 9.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.3144, allocations: 152 kB / 464.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.3149, allocations: 262.6 kB / 464.6 MB, free: 8.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3149, allocations: 3.938 kB / 464.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008399/0.3158, allocations: 401.5 kB / 465 MB, free: 8.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.3158, allocations: 37.69 kB / 465 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3159, allocations: 0 / 465 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.3161, allocations: 68.88 kB / 465.1 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3163, allocations: 59.84 kB / 465.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/0.3168, allocations: 0.6006 MB / 465.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3171, allocations: 52.06 kB / 465.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3171, allocations: 8 kB / 465.8 MB, free: 7.367 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.0001518/0.3173, allocations: 141.7 kB / 465.9 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3173, allocations: 31.64 kB / 466 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.3181, allocations: 329.8 kB / 466.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3181, allocations: 4 kB / 466.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3181, allocations: 3.938 kB / 466.3 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3181, allocations: 4 kB / 466.3 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3193, allocations: 0.7104 MB / 467 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3193, allocations: 0 / 467 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.3195, allocations: 47.91 kB / 467.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.3197, allocations: 64.81 kB / 467.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3197, allocations: 0 / 467.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004416/0.3202, allocations: 0.5993 MB / 467.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3202, allocations: 0 / 467.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/0.3212, allocations: 0.5297 MB / 468.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3213, allocations: 120.9 kB / 468.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3214, allocations: 4 kB / 468.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3216, allocations: 43.95 kB / 468.4 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.3217, allocations: 35.88 kB / 468.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.3218, allocations: 12 kB / 468.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3219, allocations: 135.5 kB / 468.6 MB, free: 4.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3219, allocations: 0 / 468.6 MB, free: 4.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.3223, allocations: 72 kB / 468.7 MB, free: 4.344 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.0002258/0.3225, allocations: 143.3 kB / 468.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.3233, allocations: 368.9 kB / 469.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3233, allocations: 0 / 469.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.3237, allocations: 156 kB / 469.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3241, allocations: 50.42 kB / 469.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3255, allocations: 0.7983 MB / 470.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3258, allocations: 0.7402 MB / 470.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3259, allocations: 25.92 kB / 470.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.326, allocations: 19.44 kB / 470.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.326, allocations: 0 / 470.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Templates: time 0.006663/0.3326, allocations: 3.293 MB / 474.2 MB, free: 14.7 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/jenkins1/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