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/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.001706/0.001706, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00203/0.00203, allocations: 190 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
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)
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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 51.91 kB / 370.9 MB, free: 9.344 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003647/0.2589, allocations: 2.239 MB / 425.3 MB, free: 12.42 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001315/0.2602, allocations: 0.6973 MB / 426 MB, free: 11.72 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.2604, allocations: 3.938 kB / 426 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2606, allocations: 35.72 kB / 426.1 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.2607, allocations: 71.41 kB / 426.2 MB, free: 11.61 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.2611, allocations: 99.81 kB / 426.2 MB, free: 11.51 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003151/0.2614, allocations: 263.4 kB / 426.5 MB, free: 11.25 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2616, allocations: 44.56 kB / 426.5 MB, free: 11.21 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.2617, allocations: 111.6 kB / 426.7 MB, free: 11.1 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2619, allocations: 127.5 kB / 426.8 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.262, allocations: 20 kB / 426.8 MB, free: 10.95 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2621, allocations: 71.89 kB / 426.9 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.2622, allocations: 47.84 kB / 426.9 MB, free: 10.84 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2623, allocations: 107.5 kB / 427 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.2627, allocations: 284.1 kB / 427.3 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2627, allocations: 0 / 427.3 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of FrontEnd: time 9.61e-07/0.2627, allocations: 0 / 427.3 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.111e-05/0.2627, allocations: 0 / 427.3 MB, free: 10.46 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: 47
 * Number of variables: 47
Notification: Performance of Generate backend data structure: time 0.0008745/0.2636, allocations: 457.6 kB / 427.7 MB, free: 9.98 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2636, allocations: 12.03 kB / 427.8 MB, free: 9.969 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.2637, allocations: 28.8 kB / 427.8 MB, free: 9.941 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.264, allocations: 182 kB / 428 MB, free: 9.738 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.264, allocations: 12.81 kB / 428 MB, free: 9.727 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2641, allocations: 20.38 kB / 428 MB, free: 9.707 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.2645, allocations: 234 kB / 428.2 MB, free: 9.461 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2645, allocations: 0 / 428.2 MB, free: 9.461 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.2646, allocations: 12 kB / 428.2 MB, free: 9.449 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2646, allocations: 4 kB / 428.2 MB, free: 9.445 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.2649, allocations: 161 kB / 428.4 MB, free: 9.289 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.2661, allocations: 0.7305 MB / 429.1 MB, free: 8.504 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.2665, allocations: 124.1 kB / 429.3 MB, free: 8.379 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2666, allocations: 64.83 kB / 429.3 MB, free: 8.312 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2666, allocations: 4 kB / 429.3 MB, free: 8.309 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2667, allocations: 34.55 kB / 429.4 MB, free: 8.266 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2667, allocations: 0 / 429.4 MB, free: 8.266 MB / 334.1 MB
Notification: Performance of matching and sorting (n=20): time 0.001817/0.2685, allocations: 0.7728 MB / 430.1 MB, free: 7.441 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2685, allocations: 59.33 kB / 430.2 MB, free: 7.371 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.2687, allocations: 201.1 kB / 430.4 MB, free: 7.168 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.2688, allocations: 29.7 kB / 430.4 MB, free: 7.133 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2689, allocations: 148.4 kB / 430.6 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.2689, allocations: 75.36 kB / 430.6 MB, free: 6.91 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.269, allocations: 49.7 kB / 430.7 MB, free: 6.855 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001479/0.2692, allocations: 338.8 kB / 431 MB, free: 6.516 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.2693, allocations: 75.97 kB / 431.1 MB, free: 6.441 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2696, allocations: 119.6 kB / 431.2 MB, free: 6.309 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.2699, allocations: 170.1 kB / 431.4 MB, free: 6.133 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2699, allocations: 4 kB / 431.4 MB, free: 6.129 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005332/0.2704, allocations: 280.6 kB / 431.6 MB, free: 5.848 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2704, allocations: 4 kB / 431.6 MB, free: 5.844 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2704, allocations: 4 kB / 431.6 MB, free: 5.84 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.2707, allocations: 72.81 kB / 431.7 MB, free: 5.766 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2708, allocations: 39.91 kB / 431.8 MB, free: 5.727 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005485/0.2714, allocations: 0.6187 MB / 432.4 MB, free: 5.082 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.2716, allocations: 24 kB / 432.4 MB, free: 5.059 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2716, allocations: 12 kB / 432.4 MB, free: 5.047 MB / 334.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.0001391/0.2717, allocations: 129.8 kB / 432.5 MB, free: 4.91 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.2718, allocations: 23.91 kB / 432.6 MB, free: 4.887 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.2718, allocations: 29.8 kB / 432.6 MB, free: 4.859 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2718, allocations: 7.938 kB / 432.6 MB, free: 4.852 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2718, allocations: 0 / 432.6 MB, free: 4.852 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2719, allocations: 4 kB / 432.6 MB, free: 4.848 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.2728, allocations: 0.5584 MB / 433.2 MB, free: 4.23 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2728, allocations: 8 kB / 433.2 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2729, allocations: 31.92 kB / 433.2 MB, free: 4.191 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.2731, allocations: 76.83 kB / 433.3 MB, free: 4.113 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2731, allocations: 4 kB / 433.3 MB, free: 4.109 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005493/0.2737, allocations: 0.6186 MB / 433.9 MB, free: 3.465 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2737, allocations: 4.062 kB / 433.9 MB, free: 3.461 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.2744, allocations: 413.8 kB / 434.3 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.2744, allocations: 35.86 kB / 434.3 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.2745, allocations: 12 kB / 434.4 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.2747, allocations: 15.97 kB / 434.4 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.2747, allocations: 23.95 kB / 434.4 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2748, allocations: 12 kB / 434.4 MB, free: 2.934 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001617/0.2749, allocations: 151.3 kB / 434.6 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2749, allocations: 0 / 434.6 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003421/0.2753, allocations: 63.88 kB / 434.6 MB, free: 2.723 MB / 334.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.0002095/0.2755, allocations: 123.2 kB / 434.7 MB, free: 2.59 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000507/0.276, allocations: 191.7 kB / 434.9 MB, free: 2.402 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.276, allocations: 0 / 434.9 MB, free: 2.402 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.2762, allocations: 98.7 kB / 435 MB, free: 2.309 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.2766, allocations: 36.17 kB / 435.1 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.278, allocations: 0.6849 MB / 435.7 MB, free: 1.551 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.2784, allocations: 0.7363 MB / 436.5 MB, free: 0.7891 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 7.738e-05/0.2785, allocations: 17.95 kB / 436.5 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.2785, allocations: 19.44 kB / 436.5 MB, free: 0.7578 MB / 334.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.2785, allocations: 3.938 kB / 436.5 MB, free: 0.7539 MB / 334.1 MB
Notification: Performance of Templates: time 0.007782/0.2863, allocations: 3.41 MB / 439.9 MB, free: 13.36 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.375929953530431]