Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00168/0.00168, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00215/0.00215, allocations: 216.7 kB / 22.99 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 67.89 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3347, allocations: 53.31 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003906/0.3386, allocations: 2.363 MB / 432.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3401, allocations: 0.8646 MB / 433 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3402, allocations: 8 kB / 433 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3404, allocations: 55.56 kB / 433.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.3407, allocations: 107.2 kB / 433.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.3409, allocations: 83.83 kB / 433.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.3412, allocations: 271.4 kB / 433.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3414, allocations: 48.33 kB / 433.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.3416, allocations: 127.5 kB / 433.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3418, allocations: 131.5 kB / 433.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.3419, allocations: 20 kB / 433.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.342, allocations: 79.92 kB / 433.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.3421, allocations: 55.81 kB / 434 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3423, allocations: 115.4 kB / 434.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.3428, allocations: 312 kB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3428, allocations: 0 / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3428, allocations: 3.938 kB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3428, allocations: 0 / 434.4 MB, free: 2.934 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.0008917/0.3437, allocations: 0.553 MB / 434.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.3437, allocations: 8.031 kB / 435 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.3438, allocations: 32.78 kB / 435 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.3442, allocations: 256 kB / 435.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3442, allocations: 16.75 kB / 435.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.3443, allocations: 20.33 kB / 435.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.3447, allocations: 215 kB / 435.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3447, allocations: 7.938 kB / 435.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.3447, allocations: 8 kB / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3448, allocations: 4 kB / 435.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.3451, allocations: 159.2 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3463, allocations: 0.7742 MB / 436.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.3467, allocations: 130.6 kB / 436.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3468, allocations: 73.3 kB / 436.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3468, allocations: 4 kB / 436.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3469, allocations: 38.52 kB / 436.7 MB, free: 476 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.3469, allocations: 0 / 436.7 MB, free: 476 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001891/0.3488, allocations: 0.9966 MB / 437.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.3488, allocations: 59.41 kB / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3491, allocations: 214.8 kB / 437.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.3491, allocations: 33.7 kB / 438 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.3492, allocations: 140.4 kB / 438.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.3493, allocations: 71.38 kB / 438.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.3494, allocations: 57.7 kB / 438.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3495, allocations: 326.8 kB / 438.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3497, allocations: 71.95 kB / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3499, allocations: 103.4 kB / 438.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3502, allocations: 171.2 kB / 438.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3502, allocations: 0 / 438.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000505/0.3507, allocations: 270.1 kB / 439.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3507, allocations: 4 kB / 439.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3507, allocations: 0 / 439.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.3509, allocations: 64.88 kB / 439.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3511, allocations: 39.92 kB / 439.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.3532, allocations: 1.818 MB / 441.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3534, allocations: 19.98 kB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3534, allocations: 15.94 kB / 441.1 MB, free: 11.69 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.0001968/0.3536, allocations: 137.9 kB / 441.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.3537, allocations: 23.8 kB / 441.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.3537, allocations: 25.88 kB / 441.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3537, allocations: 11.88 kB / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.3537, allocations: 0 / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3538, allocations: 3.984 kB / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3548, allocations: 0.6011 MB / 441.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3548, allocations: 0 / 441.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.355, allocations: 31.92 kB / 441.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.3551, allocations: 56.88 kB / 442 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3551, allocations: 11.97 kB / 442 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.357, allocations: 1.661 MB / 443.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.357, allocations: 4.031 kB / 443.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.3577, allocations: 422.2 kB / 444.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3578, allocations: 109 kB / 444.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3579, allocations: 16.05 kB / 444.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3581, allocations: 23.92 kB / 444.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.3583, allocations: 67.84 kB / 444.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3583, allocations: 8 kB / 444.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3585, allocations: 156.6 kB / 444.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 0 / 444.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.3589, allocations: 71.94 kB / 444.5 MB, free: 8.008 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.001319/0.3602, allocations: 357 kB / 444.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.3609, allocations: 318.6 kB / 445.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3609, allocations: 0 / 445.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.3612, allocations: 226.4 kB / 445.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3616, allocations: 47.97 kB / 445.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3629, allocations: 0.6972 MB / 446.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3633, allocations: 0.7441 MB / 446.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.5e-05/0.3634, allocations: 29.94 kB / 446.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.3635, allocations: 19.44 kB / 446.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3635, allocations: 0 / 446.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Templates: time 0.008802/0.3723, allocations: 4.097 MB / 451 MB, free: 1.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.618713215924799]