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.001325/0.001325, allocations: 83.38 kB / 21.99 MB, free: 5.18 MB / 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.001329/0.001329, allocations: 165.7 kB / 25.25 MB, free: 3.02 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.319/1.319, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.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.001965/0.001965, allocations: 55.94 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2086, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003522/0.2122, allocations: 2.11 MB / 350.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2135, allocations: 0.6902 MB / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2137, allocations: 7.938 kB / 351.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2138, allocations: 31.66 kB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.214, allocations: 71.47 kB / 351.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.2144, allocations: 107.8 kB / 351.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.2148, allocations: 259.5 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2149, allocations: 60.23 kB / 351.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.2151, allocations: 107.6 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2153, allocations: 107.5 kB / 352 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.2153, allocations: 16 kB / 352.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2155, allocations: 71.89 kB / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.2156, allocations: 55.81 kB / 352.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2157, allocations: 95.59 kB / 352.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.2161, allocations: 273.4 kB / 352.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2161, allocations: 4 kB / 352.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2161, allocations: 0 / 352.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2161, allocations: 3.938 kB / 352.6 MB, free: 11.44 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.0008879/0.217, allocations: 453.6 kB / 353 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.217, allocations: 11.98 kB / 353 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.2171, allocations: 28.73 kB / 353 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.2174, allocations: 182.2 kB / 353.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2175, allocations: 12.88 kB / 353.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.2175, allocations: 32.31 kB / 353.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.2179, allocations: 218.8 kB / 353.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.218, allocations: 4 kB / 353.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.218, allocations: 8 kB / 353.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.218, allocations: 4 kB / 353.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.2183, allocations: 169 kB / 353.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2195, allocations: 0.6416 MB / 354.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.2199, allocations: 118.5 kB / 354.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2201, allocations: 60.84 kB / 354.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2201, allocations: 4 kB / 354.5 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2201, allocations: 38.55 kB / 354.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.2201, allocations: 0 / 354.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001936/0.222, allocations: 0.7648 MB / 355.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.2221, allocations: 51.41 kB / 355.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.2223, allocations: 191.5 kB / 355.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2223, allocations: 25.7 kB / 355.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2224, allocations: 152.3 kB / 355.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.2225, allocations: 79.38 kB / 355.8 MB, free: 8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.761e-05/0.2226, allocations: 49.7 kB / 355.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2228, allocations: 330.8 kB / 356.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2229, allocations: 75.95 kB / 356.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2231, allocations: 123.9 kB / 356.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.2234, allocations: 165.4 kB / 356.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2234, allocations: 4 kB / 356.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005234/0.224, allocations: 287.9 kB / 356.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.224, allocations: 4 kB / 356.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.224, allocations: 7.984 kB / 356.8 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.2242, allocations: 72.8 kB / 356.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2244, allocations: 35.98 kB / 356.9 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006069/0.225, allocations: 0.6265 MB / 357.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.2252, allocations: 32.03 kB / 357.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2252, allocations: 4 kB / 357.6 MB, free: 6.133 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.0001429/0.2254, allocations: 141.7 kB / 357.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.2254, allocations: 19.89 kB / 357.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.2255, allocations: 21.81 kB / 357.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2255, allocations: 4 kB / 357.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2255, allocations: 3.938 kB / 357.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2255, allocations: 0 / 357.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.2263, allocations: 0.5175 MB / 358.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2263, allocations: 0 / 358.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2265, allocations: 27.98 kB / 358.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.2267, allocations: 64.81 kB / 358.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.2267, allocations: 12 kB / 358.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/0.2273, allocations: 0.6265 MB / 359 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2273, allocations: 0 / 359 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.228, allocations: 409.8 kB / 359.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.2281, allocations: 27.92 kB / 359.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.2281, allocations: 8 kB / 359.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2283, allocations: 15.98 kB / 359.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.2284, allocations: 27.95 kB / 359.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.2284, allocations: 8.047 kB / 359.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.2285, allocations: 135.2 kB / 359.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2285, allocations: 0 / 359.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.2288, allocations: 64 kB / 359.7 MB, free: 3.906 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.0001782/0.229, allocations: 119.1 kB / 359.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.2295, allocations: 187.8 kB / 360 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2295, allocations: 0 / 360 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.2298, allocations: 104 kB / 360.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2301, allocations: 37.02 kB / 360.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2315, allocations: 0.6651 MB / 360.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2316, allocations: 129.2 kB / 360.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.2317, allocations: 13.95 kB / 360.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.2317, allocations: 20.44 kB / 360.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2317, allocations: 0 / 360.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Templates: time 0.00702/0.2387, allocations: 2.881 MB / 363.8 MB, free: 15.69 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 -s ida -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: 4.216746481019072]