Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 194.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 207.6 MB / 234 MB, free: 11.16 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 51.92 kB / 345.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.294, allocations: 49.12 MB / 394.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003248/0.2972, allocations: 2.212 MB / 397.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2984, allocations: 0.7406 MB / 397.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2986, allocations: 7.125 kB / 397.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.2987, allocations: 36.2 kB / 397.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.2989, allocations: 66.28 kB / 398 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.2993, allocations: 103.7 kB / 398.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.2996, allocations: 259.1 kB / 398.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2997, allocations: 54.62 kB / 398.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2999, allocations: 111.9 kB / 398.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3001, allocations: 120.5 kB / 398.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.3001, allocations: 19.53 kB / 398.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3003, allocations: 77.27 kB / 398.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.3003, allocations: 49.03 kB / 398.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3004, allocations: 110.7 kB / 398.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.3008, allocations: 275.4 kB / 399.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3008, allocations: 0 / 399.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3008, allocations: 0 / 399.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3008, allocations: 0 / 399.1 MB, free: 6.754 MB / 318.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.0007881/0.3016, allocations: 0.5253 MB / 399.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3017, allocations: 10.19 kB / 399.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.3017, allocations: 23.86 kB / 399.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.302, allocations: 237.7 kB / 399.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.302, allocations: 21.92 kB / 399.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.3021, allocations: 28.17 kB / 400 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.3025, allocations: 230.4 kB / 400.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3025, allocations: 1.594 kB / 400.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3025, allocations: 6.578 kB / 400.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3025, allocations: 4.875 kB / 400.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.3028, allocations: 166.1 kB / 400.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3039, allocations: 0.7749 MB / 401.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.3042, allocations: 123.7 kB / 401.3 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3044, allocations: 63.31 kB / 401.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3044, allocations: 1.75 kB / 401.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.3044, allocations: 32.33 kB / 401.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3044, allocations: 5.031 kB / 401.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001802/0.3062, allocations: 0.9939 MB / 402.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3063, allocations: 55.41 kB / 402.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3065, allocations: 198.7 kB / 402.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3065, allocations: 31.45 kB / 402.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.3066, allocations: 140.8 kB / 402.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.3066, allocations: 78.94 kB / 402.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.3067, allocations: 50.95 kB / 402.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.3068, allocations: 337.9 kB / 403.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3069, allocations: 78.92 kB / 403.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.3071, allocations: 114.4 kB / 403.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3074, allocations: 171.4 kB / 403.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3074, allocations: 0 / 403.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004883/0.3079, allocations: 288.4 kB / 403.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3079, allocations: 6.094 kB / 403.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3079, allocations: 3.984 kB / 403.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.3082, allocations: 76.16 kB / 404 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3083, allocations: 39.98 kB / 404 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003886/0.3087, allocations: 0.6234 MB / 404.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3089, allocations: 23.42 kB / 404.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.3089, allocations: 10.75 kB / 404.7 MB, free: 2.668 MB / 318.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 9.86e-05/0.309, allocations: 138.2 kB / 404.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.3091, allocations: 21.38 kB / 404.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.3091, allocations: 25.8 kB / 404.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3091, allocations: 5.438 kB / 404.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3091, allocations: 0 / 404.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3091, allocations: 5.438 kB / 404.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.31, allocations: 0.6025 MB / 405.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.31, allocations: 1.719 kB / 405.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3101, allocations: 28.38 kB / 405.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.3103, allocations: 66.34 kB / 405.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3103, allocations: 8.797 kB / 405.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003497/0.3107, allocations: 0.6184 MB / 406.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3107, allocations: 1.219 kB / 406.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.3113, allocations: 416 kB / 406.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.3113, allocations: 114.2 kB / 406.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3114, allocations: 2.484 kB / 406.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3115, allocations: 21.39 kB / 406.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.3116, allocations: 22.41 kB / 406.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3116, allocations: 6.25 kB / 406.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3118, allocations: 153 kB / 406.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3118, allocations: 0 / 406.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.3121, allocations: 70.03 kB / 407 MB, free: 0.957 MB / 318.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.0001705/0.3123, allocations: 125.9 kB / 407.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.3128, allocations: 189.1 kB / 407.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3128, allocations: 0 / 407.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.313, allocations: 104.8 kB / 407.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3134, allocations: 35.66 kB / 407.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3147, allocations: 0.6996 MB / 408.1 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.315, allocations: 0.7354 MB / 408.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.3151, allocations: 27.31 kB / 408.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3151, allocations: 0 / 408.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Templates: time 0.00669/0.3218, allocations: 3.488 MB / 412.3 MB, free: 14.29 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches