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.001586/0.001586, allocations: 89.45 kB / 20.68 MB, free: 1.023 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.001476/0.001476, allocations: 157.5 kB / 23.95 MB, free: 4.152 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.526/1.526, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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 1.433e-06/1.433e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.221e-05, allocations: 3.594 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004016/0.004038, allocations: 2.233 MB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.006013, allocations: 0.8128 MB / 328 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.006283, allocations: 6.594 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.006613, allocations: 57.52 kB / 328.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.007107, allocations: 108.5 kB / 328.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.007436, allocations: 89.22 kB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.007985, allocations: 288.5 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.008177, allocations: 47.19 kB / 328.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.008636, allocations: 172.3 kB / 328.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.008905, allocations: 99.64 kB / 328.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.008961, allocations: 20.69 kB / 328.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.009168, allocations: 82.17 kB / 329 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.009266, allocations: 57.92 kB / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.009397, allocations: 75.95 kB / 329.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.009965, allocations: 320.1 kB / 329.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.009969, allocations: 1.125 kB / 329.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.00997, allocations: 4 kB / 329.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.009987, allocations: 0 / 329.4 MB, free: 13.79 MB / 302.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.00109/0.01108, allocations: 478.1 kB / 329.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.01112, allocations: 13.48 kB / 329.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.01134, allocations: 33.98 kB / 330 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.01184, allocations: 190.2 kB / 330.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.01188, allocations: 21.72 kB / 330.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.01193, allocations: 21.44 kB / 330.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.01241, allocations: 211.9 kB / 330.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.01243, allocations: 13.58 kB / 330.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.01246, allocations: 6.719 kB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01247, allocations: 8.406 kB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.01284, allocations: 157.5 kB / 330.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01407, allocations: 0.6267 MB / 331.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.01451, allocations: 140.7 kB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.01467, allocations: 64.36 kB / 331.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01469, allocations: 2.25 kB / 331.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.01472, allocations: 36.34 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.01473, allocations: 3.938 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002221/0.01695, allocations: 0.7668 MB / 332.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.01699, allocations: 61.98 kB / 332.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.01726, allocations: 208 kB / 332.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.0173, allocations: 30.8 kB / 332.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.01742, allocations: 147.2 kB / 332.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.0175, allocations: 76.11 kB / 332.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.0176, allocations: 56.33 kB / 332.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.01777, allocations: 327.4 kB / 333.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.01794, allocations: 68.94 kB / 333.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01815, allocations: 112 kB / 333.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.0185, allocations: 159.9 kB / 333.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0185, allocations: 0 / 333.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005932/0.0191, allocations: 264.5 kB / 333.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01912, allocations: 8.969 kB / 333.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01912, allocations: 1.375 kB / 333.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.01939, allocations: 68.17 kB / 333.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.01957, allocations: 31.86 kB / 333.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.0219, allocations: 1.675 MB / 335.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.02212, allocations: 28.44 kB / 335.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.02215, allocations: 11.31 kB / 335.5 MB, free: 8.973 MB / 302.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.0001779/0.02233, allocations: 132.6 kB / 335.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.02239, allocations: 24.8 kB / 335.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.02245, allocations: 21.78 kB / 335.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02246, allocations: 6.5 kB / 335.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02246, allocations: 1.219 kB / 335.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.02247, allocations: 3.984 kB / 335.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.02346, allocations: 0.5137 MB / 336.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.02347, allocations: 0 / 336.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.02365, allocations: 41.41 kB / 336.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.02382, allocations: 54.94 kB / 336.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.02384, allocations: 14.3 kB / 336.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.02563, allocations: 1.522 MB / 337.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.02564, allocations: 5.375 kB / 337.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.02641, allocations: 414.9 kB / 338.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.0265, allocations: 36.27 kB / 338.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.02654, allocations: 6.875 kB / 338.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.02675, allocations: 22.44 kB / 338.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.02692, allocations: 67.3 kB / 338.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.02694, allocations: 8.141 kB / 338.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.02711, allocations: 144.6 kB / 338.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02711, allocations: 0 / 338.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.02759, allocations: 72.22 kB / 338.6 MB, free: 6.402 MB / 302.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.001624/0.02922, allocations: 381.9 kB / 339 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.02991, allocations: 309.3 kB / 339.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02991, allocations: 0 / 339.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.0303, allocations: 222.7 kB / 339.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.03074, allocations: 40.16 kB / 339.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.03219, allocations: 0.6021 MB / 340.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.03235, allocations: 130.7 kB / 340.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.03246, allocations: 21.8 kB / 340.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.03253, allocations: 27.86 kB / 340.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.03253, allocations: 0 / 340.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of Templates: time 0.009991/0.04253, allocations: 3.769 MB / 344.1 MB, free: 1.539 MB / 302.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.530126079916954]