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.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.001451/0.001451, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001475/0.001475, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 59.84 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3978, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004052/0.4018, allocations: 2.228 MB / 399.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.4033, allocations: 0.7412 MB / 400.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.4035, allocations: 3 kB / 400.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.4037, allocations: 35.98 kB / 400.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.4039, allocations: 65.94 kB / 400.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.4043, allocations: 103.1 kB / 400.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.4047, allocations: 263.4 kB / 401 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.4048, allocations: 55.59 kB / 401.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.405, allocations: 112.7 kB / 401.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.4053, allocations: 127.5 kB / 401.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.4054, allocations: 19.31 kB / 401.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.4055, allocations: 68.33 kB / 401.4 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.4056, allocations: 50.03 kB / 401.5 MB, free: 7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.4057, allocations: 114.3 kB / 401.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.4062, allocations: 275 kB / 401.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.4062, allocations: 7.875 kB / 401.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4062, allocations: 0 / 401.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4062, allocations: 5.406 kB / 401.8 MB, free: 6.82 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.000898/0.4071, allocations: 452.3 kB / 402.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4072, allocations: 13 kB / 402.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.4073, allocations: 25.05 kB / 402.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.4077, allocations: 173.3 kB / 402.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.4077, allocations: 17.34 kB / 402.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.4078, allocations: 28.45 kB / 402.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.4083, allocations: 231 kB / 402.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4083, allocations: 1.375 kB / 402.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.4083, allocations: 5.406 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.4083, allocations: 5.234 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.4087, allocations: 165.9 kB / 402.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.4098, allocations: 0.7172 MB / 403.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.4102, allocations: 124.3 kB / 403.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.4104, allocations: 67.23 kB / 403.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4104, allocations: 2.312 kB / 403.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4104, allocations: 45.33 kB / 403.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.4104, allocations: 0 / 403.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00189/0.4123, allocations: 0.763 MB / 404.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.4124, allocations: 53.62 kB / 404.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4126, allocations: 200.4 kB / 404.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4126, allocations: 31.11 kB / 404.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.4127, allocations: 143.2 kB / 405.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.4127, allocations: 78.52 kB / 405.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.4128, allocations: 53.45 kB / 405.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.4129, allocations: 334.7 kB / 405.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4131, allocations: 75.39 kB / 405.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.4133, allocations: 113.5 kB / 405.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.4136, allocations: 171.5 kB / 405.9 MB, free: 4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.4136, allocations: 0 / 405.9 MB, free: 4 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005016/0.4141, allocations: 289.3 kB / 406.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4141, allocations: 4.469 kB / 406.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4141, allocations: 1.953 kB / 406.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.4144, allocations: 72.03 kB / 406.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4146, allocations: 42.98 kB / 406.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004788/0.415, allocations: 0.6224 MB / 406.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.4152, allocations: 26.25 kB / 406.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4152, allocations: 8.016 kB / 406.9 MB, free: 3.254 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 0.0001058/0.4153, allocations: 144.5 kB / 407.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.4154, allocations: 18.94 kB / 407.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.4154, allocations: 27.62 kB / 407.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4155, allocations: 6.531 kB / 407.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4155, allocations: 0 / 407.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.4155, allocations: 1.406 kB / 407.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/0.4163, allocations: 0.5757 MB / 407.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4163, allocations: 1.375 kB / 407.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.4165, allocations: 28.77 kB / 407.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.4166, allocations: 66.3 kB / 407.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.4167, allocations: 12.09 kB / 407.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003642/0.417, allocations: 0.6123 MB / 408.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.417, allocations: 0 / 408.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.4176, allocations: 421.7 kB / 408.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.4177, allocations: 31.48 kB / 408.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.4177, allocations: 7.172 kB / 408.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4179, allocations: 20.69 kB / 408.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.418, allocations: 24.48 kB / 408.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.418, allocations: 4.891 kB / 408.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4181, allocations: 154.4 kB / 409.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4181, allocations: 4 kB / 409.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.4185, allocations: 66.5 kB / 409.1 MB, free: 1.664 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.0001832/0.4187, allocations: 124.4 kB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.4192, allocations: 184.5 kB / 409.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4193, allocations: 0 / 409.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.4195, allocations: 98.19 kB / 409.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.42, allocations: 42.73 kB / 409.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.4214, allocations: 0.6962 MB / 410.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4216, allocations: 0.7434 MB / 411 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.4217, allocations: 23.69 kB / 411 MB, free: 260 kB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4217, allocations: 0 / 411 MB, free: 260 kB / 318.1 MB Notification: Performance of Templates: time 0.007438/0.4292, allocations: 3.492 MB / 414.5 MB, free: 14.82 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 [Calling sys.exit(0), Time elapsed: 8.251104841008782]