Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 179.9 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged")
translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 51.92 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3261, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003392/0.3295, allocations: 2.233 MB / 399 MB, free: 7.977 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00135/0.3309, allocations: 0.7399 MB / 399.8 MB, free: 7.453 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.331, allocations: 2.438 kB / 399.8 MB, free: 7.453 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3312, allocations: 33.72 kB / 399.8 MB, free: 7.434 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3314, allocations: 69.25 kB / 399.9 MB, free: 7.387 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.3318, allocations: 106.8 kB / 400 MB, free: 7.332 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002908/0.3321, allocations: 259.9 kB / 400.2 MB, free: 7.211 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3323, allocations: 53.88 kB / 400.3 MB, free: 7.18 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3324, allocations: 110 kB / 400.4 MB, free: 7.133 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3326, allocations: 120.8 kB / 400.5 MB, free: 7.078 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.3327, allocations: 19.12 kB / 400.5 MB, free: 7.078 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.3328, allocations: 71.08 kB / 400.6 MB, free: 7.062 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 8e-05/0.3329, allocations: 57.55 kB / 400.7 MB, free: 7.023 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.333, allocations: 111.5 kB / 400.8 MB, free: 6.957 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.3335, allocations: 282.1 kB / 401 MB, free: 6.852 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3335, allocations: 1.281 kB / 401 MB, free: 6.852 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.683e-06/0.3335, allocations: 0 / 401 MB, free: 6.852 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 8.145e-06/0.3335, allocations: 0 / 401 MB, free: 6.852 MB / 318.1 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.0009015/0.3344, allocations: 453.4 kB / 401.5 MB, free: 6.488 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3344, allocations: 21.91 kB / 401.5 MB, free: 6.477 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.3345, allocations: 24.02 kB / 401.5 MB, free: 6.465 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3348, allocations: 172.3 kB / 401.7 MB, free: 6.305 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3348, allocations: 14.16 kB / 401.7 MB, free: 6.301 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.3348, allocations: 28.73 kB / 401.7 MB, free: 6.285 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.3353, allocations: 222.7 kB / 402 MB, free: 6.168 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3353, allocations: 5.812 kB / 402 MB, free: 6.164 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3353, allocations: 9.25 kB / 402 MB, free: 6.156 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3353, allocations: 4.875 kB / 402 MB, free: 6.156 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.3357, allocations: 161.6 kB / 402.1 MB, free: 6.113 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3367, allocations: 0.7188 MB / 402.9 MB, free: 5.59 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.337, allocations: 130.6 kB / 403 MB, free: 5.527 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3372, allocations: 64.25 kB / 403 MB, free: 5.5 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3372, allocations: 2.531 kB / 403 MB, free: 5.5 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3372, allocations: 33.14 kB / 403.1 MB, free: 5.461 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.3372, allocations: 0 / 403.1 MB, free: 5.461 MB / 318.1 MB
Notification: Performance of matching and sorting (n=20): time 0.001637/0.3388, allocations: 0.7703 MB / 403.9 MB, free: 4.988 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.3389, allocations: 53.62 kB / 403.9 MB, free: 4.926 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3391, allocations: 201.8 kB / 404.1 MB, free: 4.793 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3391, allocations: 30.83 kB / 404.1 MB, free: 4.758 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.3392, allocations: 146.6 kB / 404.3 MB, free: 4.629 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.3392, allocations: 69.95 kB / 404.3 MB, free: 4.574 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.3393, allocations: 55.48 kB / 404.4 MB, free: 4.539 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 5.791e-05/0.3394, allocations: 332.6 kB / 404.7 MB, free: 4.215 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3395, allocations: 80.44 kB / 404.8 MB, free: 4.188 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.3397, allocations: 114.2 kB / 404.9 MB, free: 4.125 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.34, allocations: 175.6 kB / 405.1 MB, free: 4.027 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.34, allocations: 0 / 405.1 MB, free: 4.027 MB / 318.1 MB
Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005349/0.3405, allocations: 285.3 kB / 405.4 MB, free: 3.898 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3405, allocations: 5.047 kB / 405.4 MB, free: 3.898 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3405, allocations: 1.156 kB / 405.4 MB, free: 3.898 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.3408, allocations: 77.27 kB / 405.4 MB, free: 3.867 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.341, allocations: 37.69 kB / 405.5 MB, free: 3.863 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000433/0.3414, allocations: 0.6218 MB / 406.1 MB, free: 3.293 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3416, allocations: 23.62 kB / 406.1 MB, free: 3.289 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.3416, allocations: 10.75 kB / 406.1 MB, free: 3.285 MB / 318.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 (26):
 * Single equations (assignments): 25
 * 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.0001123/0.3417, allocations: 134.1 kB / 406.3 MB, free: 3.156 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.3418, allocations: 17.11 kB / 406.3 MB, free: 3.148 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.3418, allocations: 32.42 kB / 406.3 MB, free: 3.121 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3418, allocations: 6.938 kB / 406.3 MB, free: 3.117 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3418, allocations: 4.766 kB / 406.3 MB, free: 3.113 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3418, allocations: 0.6562 kB / 406.3 MB, free: 3.113 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.3427, allocations: 0.5673 MB / 406.9 MB, free: 2.707 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.3427, allocations: 4 kB / 406.9 MB, free: 2.703 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3429, allocations: 40.08 kB / 406.9 MB, free: 2.691 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.343, allocations: 70.55 kB / 407 MB, free: 2.664 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3431, allocations: 3.5 kB / 407 MB, free: 2.664 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.3434, allocations: 0.6166 MB / 407.6 MB, free: 2.098 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3434, allocations: 2.031 kB / 407.6 MB, free: 2.098 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.344, allocations: 419.8 kB / 408 MB, free: 1.832 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.3441, allocations: 32.84 kB / 408.1 MB, free: 1.816 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3441, allocations: 6.75 kB / 408.1 MB, free: 1.812 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3443, allocations: 21.05 kB / 408.1 MB, free: 1.809 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.3444, allocations: 27.66 kB / 408.1 MB, free: 1.801 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3444, allocations: 10.34 kB / 408.1 MB, free: 1.797 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 0.0001485/0.3445, allocations: 153.2 kB / 408.3 MB, free: 1.699 MB / 318.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3445, allocations: 0 / 408.3 MB, free: 1.699 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0003943/0.3449, allocations: 62.56 kB / 408.3 MB, free: 1.691 MB / 318.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 (14):
 * Single equations (assignments): 13
 * 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.0001918/0.3451, allocations: 119.8 kB / 408.5 MB, free: 1.59 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005389/0.3456, allocations: 197.8 kB / 408.7 MB, free: 1.527 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3456, allocations: 0 / 408.7 MB, free: 1.527 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.3459, allocations: 97.8 kB / 408.7 MB, free: 1.5 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3463, allocations: 35.25 kB / 408.8 MB, free: 1.484 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3476, allocations: 0.6681 MB / 409.5 MB, free: 1.027 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3478, allocations: 0.7402 MB / 410.2 MB, free: 336 kB / 318.1 MB
Notification: Performance of simCode: alias equations: time 9.52e-05/0.3479, allocations: 20.98 kB / 410.2 MB, free: 332 kB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.3479, allocations: 17.06 kB / 410.2 MB, free: 324 kB / 318.1 MB
Notification: Performance of SimCode: time 7.32e-07/0.3479, allocations: 0 / 410.2 MB, free: 324 kB / 318.1 MB
Notification: Performance of Templates: time 0.009513/0.3574, allocations: 3.423 MB / 413.7 MB, free: 14.99 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.717472459189594]