Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001611/0.001611, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001901/0.001901, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.84 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 53.32 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003982/0.2941, allocations: 2.363 MB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2957, allocations: 0.8647 MB / 435.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.2958, allocations: 3.938 kB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.2961, allocations: 47.62 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2964, allocations: 107.2 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2966, allocations: 83.83 kB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.2969, allocations: 283.3 kB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2971, allocations: 48.34 kB / 435.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.2973, allocations: 123.5 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.2975, allocations: 127.5 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.2975, allocations: 20 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.2977, allocations: 75.98 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.2978, allocations: 59.75 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.2979, allocations: 111.5 kB / 436.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.2983, allocations: 320.7 kB / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2984, allocations: 0 / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2984, allocations: 0 / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.2984, allocations: 0 / 436.6 MB, free: 2.777 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.0009628/0.2993, allocations: 0.553 MB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2994, allocations: 8.031 kB / 437.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2996, allocations: 36.78 kB / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.3, allocations: 248.5 kB / 437.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3, allocations: 16.75 kB / 437.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.3, allocations: 28.33 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.3004, allocations: 214.9 kB / 437.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3005, allocations: 4 kB / 437.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.3005, allocations: 4 kB / 437.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3005, allocations: 4 kB / 437.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.3008, allocations: 159 kB / 437.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.3021, allocations: 0.7781 MB / 438.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.3025, allocations: 134.7 kB / 438.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3026, allocations: 64.84 kB / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3027, allocations: 19.91 kB / 438.9 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3027, allocations: 30.91 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.3027, allocations: 0 / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002013/0.3047, allocations: 0.9938 MB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3048, allocations: 55.41 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.305, allocations: 218.7 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.305, allocations: 33.7 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3051, allocations: 140.4 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.3052, allocations: 79.38 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.3053, allocations: 49.7 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3055, allocations: 334.8 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3056, allocations: 67.97 kB / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3058, allocations: 107.4 kB / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.3061, allocations: 156 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3061, allocations: 0 / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005038/0.3066, allocations: 278.1 kB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3066, allocations: 6.969 kB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3066, allocations: 0 / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.3069, allocations: 60.89 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.307, allocations: 43.86 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.309, allocations: 1.815 MB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.3092, allocations: 20.02 kB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3093, allocations: 20.05 kB / 443.4 MB, free: 11.53 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.0001502/0.3094, allocations: 137.8 kB / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.3095, allocations: 19.84 kB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.3095, allocations: 25.88 kB / 443.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3095, allocations: 7.984 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3095, allocations: 0 / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3095, allocations: 0 / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009239/0.3105, allocations: 0.609 MB / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3105, allocations: 0 / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3106, allocations: 31.98 kB / 444.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.3108, allocations: 52.83 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3108, allocations: 11.92 kB / 444.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.3125, allocations: 1.662 MB / 445.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3125, allocations: 4.031 kB / 445.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.3132, allocations: 428.3 kB / 446.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3133, allocations: 117 kB / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3133, allocations: 11.94 kB / 446.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3135, allocations: 19.98 kB / 446.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3136, allocations: 63.91 kB / 446.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3137, allocations: 8 kB / 446.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.3138, allocations: 160.5 kB / 446.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3138, allocations: 0 / 446.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.3142, allocations: 79.94 kB / 446.8 MB, free: 7.848 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.001302/0.3155, allocations: 362.8 kB / 447.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.3162, allocations: 310.4 kB / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3162, allocations: 0 / 447.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.3165, allocations: 226.4 kB / 447.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3169, allocations: 43.84 kB / 447.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3184, allocations: 0.6993 MB / 448.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3188, allocations: 0.7402 MB / 449.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.283e-05/0.3188, allocations: 29.92 kB / 449.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.3189, allocations: 19.44 kB / 449.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3189, allocations: 0 / 449.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.008951/0.3279, allocations: 4.106 MB / 453.3 MB, free: 1.402 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.653788947034627]