Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 215.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.11/2.11, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3766, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.00606/0.3826, allocations: 2.236 MB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3853, allocations: 0.8102 MB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3855, allocations: 7.938 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.3858, allocations: 47.58 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.3863, allocations: 111.2 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3867, allocations: 83.83 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.3871, allocations: 279.4 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3873, allocations: 51.48 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.3876, allocations: 123.6 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.3879, allocations: 127.5 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.3879, allocations: 20 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.3882, allocations: 83.95 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.3883, allocations: 55.78 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3884, allocations: 99.58 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.3889, allocations: 310.5 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3889, allocations: 4 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3889, allocations: 0 / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.3889, allocations: 4 kB / 436.7 MB, free: 2.273 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.001144/0.3901, allocations: 477.2 kB / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3901, allocations: 12.03 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.3904, allocations: 36.78 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.3909, allocations: 198.8 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3909, allocations: 16.75 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.391, allocations: 20.33 kB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.3915, allocations: 222.7 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3916, allocations: 0 / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3916, allocations: 12 kB / 437.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3916, allocations: 4 kB / 437.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.3921, allocations: 159.2 kB / 437.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3935, allocations: 0.6357 MB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.3941, allocations: 138.7 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.3943, allocations: 56.84 kB / 438.7 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3943, allocations: 4 kB / 438.7 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3943, allocations: 42.5 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.3943, allocations: 0 / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002388/0.3967, allocations: 0.7621 MB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3968, allocations: 55.41 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.3971, allocations: 192.2 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3971, allocations: 33.7 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3972, allocations: 148.4 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.3973, allocations: 75.36 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3975, allocations: 53.7 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3976, allocations: 330.8 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.3979, allocations: 67.97 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.3981, allocations: 107.3 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.3985, allocations: 155.3 kB / 440.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3985, allocations: 4 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000682/0.3992, allocations: 266.2 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3992, allocations: 7.938 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3992, allocations: 0 / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.3995, allocations: 60.86 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.3997, allocations: 31.98 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.4024, allocations: 1.688 MB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.4027, allocations: 23.92 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.4027, allocations: 7.984 kB / 442.8 MB, free: 11.87 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.0001976/0.4029, allocations: 142.1 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.403, allocations: 19.91 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.4031, allocations: 21.97 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.4031, allocations: 3.938 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4031, allocations: 3.938 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4031, allocations: 3.984 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.4044, allocations: 0.5164 MB / 443.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4044, allocations: 0 / 443.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.4046, allocations: 39.97 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.4048, allocations: 60.81 kB / 443.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.4049, allocations: 0 / 443.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.407, allocations: 1.53 MB / 445.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.407, allocations: 4.062 kB / 445.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.408, allocations: 427.7 kB / 445.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4081, allocations: 39.86 kB / 445.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.4082, allocations: 4 kB / 445.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.4084, allocations: 23.98 kB / 445.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.4086, allocations: 71.88 kB / 445.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.4086, allocations: 4 kB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.4089, allocations: 155.3 kB / 445.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4089, allocations: 0 / 445.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006277/0.4095, allocations: 68 kB / 445.9 MB, free: 8.559 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.001752/0.4112, allocations: 394 kB / 446.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.4122, allocations: 294.5 kB / 446.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4122, allocations: 0 / 446.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005251/0.4127, allocations: 234.4 kB / 446.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.4134, allocations: 48.05 kB / 446.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4153, allocations: 0.6998 MB / 447.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.4155, allocations: 138.2 kB / 447.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.4156, allocations: 25.94 kB / 447.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.4157, allocations: 19.44 kB / 447.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4157, allocations: 0 / 447.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Templates: time 0.01297/0.4287, allocations: 4.005 MB / 451.7 MB, free: 2.84 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.587627269997029]